chacha8rand

Crates.iochacha8rand
lib.rschacha8rand
version0.1.0
sourcesrc
created_at2024-10-14 20:22:19.315368
updated_at2024-10-14 20:22:19.315368
descriptionReproducible, robust and (last but not least) fast pseudorandomness
homepage
repositoryhttps://github.com/hanna-kruppe/chacha8rand
max_upload_size
id1408685
size98,923
Hanna Kruppe (hanna-kruppe)

documentation

README

ChaCha8Rand Implementation in Rust

Reproducible, robust and (last but not least) fast pseudorandomness.

This crate implements the chacha8rand specification, originally designed for Go's math/rand/v2 package. The language-independent specification and test vector helps with long-term reproducibility and interoperability. Building on the ChaCha8 stream cipher ensures high statistical quality and removes entire classes of "you're holding it wrong"-style problems that lead to sub-par output. It's also carefully designed and implemented (using SIMD instructions when available) to be so fast that it shouldn't ever be a bottleneck. However, it should not be used for cryptography.

See the documentation for more details.

Dual-licensed under Apache 2.0 or MIT at your option.

Commit count: 103

cargo fmt