Subversion Repositories oidplus

Rev

Rev 846 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 846 Rev 874
Line 12... Line 12...
12
 *
12
 *
13
 *    echo bin2hex(\phpseclib3\Crypt\Random::string(8));
13
 *    echo bin2hex(\phpseclib3\Crypt\Random::string(8));
14
 * ?>
14
 * ?>
15
 * </code>
15
 * </code>
16
 *
16
 *
-
 
17
 * @category  Crypt
-
 
18
 * @package   Random
17
 * @author    Jim Wigginton <terrafrost@php.net>
19
 * @author    Jim Wigginton <terrafrost@php.net>
18
 * @copyright 2007 Jim Wigginton
20
 * @copyright 2007 Jim Wigginton
19
 * @license   http://www.opensource.org/licenses/mit-license.html  MIT License
21
 * @license   http://www.opensource.org/licenses/mit-license.html  MIT License
20
 * @link      http://phpseclib.sourceforge.net
22
 * @link      http://phpseclib.sourceforge.net
21
 */
23
 */
Line 23... Line 25...
23
namespace phpseclib3\Crypt;
25
namespace phpseclib3\Crypt;
24
 
26
 
25
/**
27
/**
26
 * Pure-PHP Random Number Generator
28
 * Pure-PHP Random Number Generator
27
 *
29
 *
-
 
30
 * @package Random
28
 * @author  Jim Wigginton <terrafrost@php.net>
31
 * @author  Jim Wigginton <terrafrost@php.net>
-
 
32
 * @access  public
29
 */
33
 */
30
abstract class Random
34
abstract class Random
31
{
35
{
32
    /**
36
    /**
33
     * Generate a random string.
37
     * Generate a random string.