ratchet 1.2.0

A cryptographicly secure pseudo random bytes stream

Defines the [Ratchet] struct.

A [Ratchet] is a cryptographically secure pseudo random number generator.

use --features serde to provide serde implementations.


use ratchet::typenum::consts;
use sha1::Sha1;
use rand_core::RngCore;

let mut ratchet = ratchet::Ratchet::<Sha1, consts::U100, consts::U5,>::default();
let mut bytes = [0; 1024];

ratchet.fill_bytes(&mut bytes,);

Author -- DMorgan
Last Moddified --- 2020-03-11