Skip to content

hanna-kruppe/chacha8rand

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages