vibe.d beta banner
get vibe.d
0.8.4

Asynchronous I/O that doesn’t get in your way, written in D

Module vibe.crypto.cryptorand

Implements cryptographically secure random number generators.

Interfaces

NameDescription
RandomNumberStream Base interface for all cryptographically secure RNGs.

Classes

NameDescription
CryptoException Thrown when an error occurs during random number generation.
HashMixerRNG Hash-based cryptographically secure random number mixer.
SystemRNG Operating system specific cryptography secure random number generator.

Aliases

NameTypeDescription
SHA1HashMixerRNG HashMixerRNG!(std.digest.sha.SHA!(512,160).SHA,5) A 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.