Method |
Description |
|
btwoc ( string $long ) : string |
Get the big endian two's complement of a given big integer in
binary notation |
|
fromBinary ( string $binary ) : string |
Translate a binary form into a big integer string |
|
rand ( string | integer $minimum, string | integer $maximum ) : string |
Generate a pseudorandom number within the given range. |
|
randBytes ( integer $length, boolean $strong = false ) : string |
Return a random strings of $length bytes |
|
randInteger ( integer $min, integer $max, boolean $strong = false ) : integer |
Return a random integer between $min and $max |
|
toBinary ( string $integer ) : string |
Translate a big integer string into a binary form |
|