securerandom¶
Base class for cryptographic secure random number generation :authors: Gary Belvin
- class securerandom.OpenSSLRand[source]¶
Bases:
SecureRandomUses the OpenSSL PRNG for random bits
- class securerandom.SecureRandomFactory[source]¶
Bases:
objectThis class provides a central place to swap out the randomness engine used by the charm framework. Classes should call
rand = SecureRandomFactory.getInstance()to acquire a randomnesss generator
- class securerandom.WeakRandom[source]¶
Bases:
SecureRandom