ratchet 1.0.0

A cryptographicly secure sudo random bytes stream

Defines the [Ratchet] struct.

A [Ratchet] is a cryptographically secure sudo 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 -- daniel.bechaz@gmail.com
Last Moddified --- 2019-05-11