vibe.d beta banner
get vibe.d
0.7.31

Module vibe.crypto.cryptorand

Implements cryptographically secure random number generators.

Interfaces

NameDescription
RandomNumberStreamBase interface for all cryptographically secure RNGs.

Classes

NameDescription
CryptoExceptionThrown when an error occurs during random number generation.
HashMixerRNGHash-based cryptographically secure random number mixer.
SystemRNGOperating system specific cryptography secure random number generator.

Aliases

NameTypeDescription
SHA1HashMixerRNGvibe.crypto.cryptorand.__T12HashMixerRNGTS3std6digest3sha20__T3SHAVki512Vki160Z3SHAVki5Z.HashMixerRNGA SHA-1 based mixing RNG. Alias for HashMixerRNG!(SHA1, 5).
Authors

Ilya Shipunov

Copyright

© 2013 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.