![]() |
Coretex
|
Public Member Functions | |
int | getRandomByte (self) |
bytes | getRandomBytes (self, int count) |
Random generator based on recursive hashing the provided seed using the provided hashing algorithm. Entropy is equal to the provided seed.
Definition at line 64 of file random_generator.py.
int coretex.cryptography.random_generator.Random.getRandomByte | ( | self | ) |
Returns ------- int -> randomly generated byte value
Definition at line 81 of file random_generator.py.
bytes coretex.cryptography.random_generator.Random.getRandomBytes | ( | self, | |
int | count | ||
) |
Parameters ---------- count : int # of how many bytes should be generated Returns ------- bytes -> randomly generated bytes array
Definition at line 101 of file random_generator.py.