#random #stream-cipher #secure-random #hc128

yanked rand_hc128

HC128 random number generator

Uses old Rust 2015

0.1.0 Oct 17, 2018

#43 in #secure-random

MIT/Apache

83KB
1K SLoC

rand_hc128

Build Status Build Status Latest version Documentation Minimum rustc version License

A cryptographically secure random number generator that uses the HC-128 algorithm.

HC-128 is a stream cipher designed by Hongjun Wu[^1], that we use as an RNG. It is selected as one of the "stream ciphers suitable for widespread adoption" by eSTREAM[^2].

Documentation: master branch, by release

Changelog

[^1]: Hongjun Wu (2008). "The Stream Cipher HC-128". The eSTREAM Finalists, LNCS 4986, pp. 39–47, Springer-Verlag.

[^2]: eSTREAM: the ECRYPT Stream Cipher Project

Crate Features

rand_hc128 is no_std compatible. It does not require any functionality outside of the core lib, thus there are no features to configure.

License

rand_hc128 is distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE and LICENSE-MIT, and COPYRIGHT for details.

Dependencies