pssht
latest
SSH server library written in PHP
|
Public Member Functions | |
__construct ($data) | |
getBytes ($count) | |
Protected Attributes | |
$data | |
Fixed data to return. | |
fpoirotte\Pssht\Random\Fixed::__construct | ( | $data | ) |
Construct a new fake PRNG.
string | $data | Fixed data to return. |
Definition at line 28 of file Fixed.php.
References fpoirotte\Pssht\Random\Fixed\$data.
fpoirotte\Pssht\Random\Fixed::getBytes | ( | $count | ) |
Get (pseudo-)random bytes.
int | $count | Number of (pseudo-)random bytes to retrieve. |
string | A character string composed of $count (pseudo-)random bytes. |
Implements fpoirotte\Pssht\Random\RandomInterface.