pssht  latest
SSH server library written in PHP
fpoirotte\Pssht\Random\OpenSSL Class Reference
+ Inheritance diagram for fpoirotte\Pssht\Random\OpenSSL:

Public Member Functions

 __construct ()
 Construct a new PRNG.
 
 getBytes ($count)
 

Detailed Description

OpenSSL-based pseudo-random number generator.

Definition at line 17 of file OpenSSL.php.

Member Function Documentation

fpoirotte\Pssht\Random\OpenSSL::getBytes (   $count)

Get (pseudo-)random bytes.

Parameters
int$countNumber of (pseudo-)random bytes to retrieve.
Return values
stringA character string composed of $count (pseudo-)random bytes.

Implements fpoirotte\Pssht\Random\RandomInterface.

Definition at line 24 of file OpenSSL.php.


The documentation for this class was generated from the following file: