| Crates.io | squares-rnd |
| lib.rs | squares-rnd |
| version | 3.2.0 |
| created_at | 2020-11-03 07:53:24.376252+00 |
| updated_at | 2025-08-26 02:51:06.815112+00 |
| description | Simple and fast counter based non-crypto random generator |
| homepage | |
| repository | https://github.com/DoumanAsh/squares-rnd |
| max_upload_size | |
| id | 308171 |
| size | 17,145 |
Simple and fast counter based non-crypto random generator.
The algorithm is based on Middle Square Weyl Sequence RNG.
See paper for details.
NOTE: Not cryptographically secure.
There are several note-worthy properties to the algorithm:
key must have close to equal number of zeroes and ones for optimal output.
This crate provides single key for use, to have more download key file gist