1 | <?php |
||
17 | class Mcrypt extends AbstractGenerator |
||
18 | { |
||
19 | /** @var int Random source for mcrypt_create_iv */ |
||
20 | private $mode; |
||
21 | |||
22 | /** |
||
23 | * Creates new instance of Mcrypt generator. |
||
24 | * @param bool $urandom True to use /dev/urandom and false for /dev/random |
||
25 | */ |
||
26 | 4 | public function __construct($urandom = true) |
|
30 | |||
31 | 4 | public function isSupported() |
|
35 | |||
36 | 4 | protected function readBytes($count) |
|
40 | } |
||
41 |