Crates.io | chacha8rand |
lib.rs | chacha8rand |
version | 0.1.0 |
source | src |
created_at | 2024-10-14 20:22:19.315368 |
updated_at | 2024-10-14 20:22:19.315368 |
description | Reproducible, robust and (last but not least) fast pseudorandomness |
homepage | |
repository | https://github.com/hanna-kruppe/chacha8rand |
max_upload_size | |
id | 1408685 |
size | 98,923 |
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.