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

Public Member Functions

 getBytes ($count)
 

Detailed Description

Interface for a (Pseudo-)Random Number Generator.

Definition at line 17 of file RandomInterface.php.

Member Function Documentation

fpoirotte\Pssht\Random\RandomInterface::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.

Implemented in fpoirotte\Pssht\Random\Fixed, and fpoirotte\Pssht\Random\OpenSSL.


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