Registry / crypto / fullcodec-rand-xorshift

fullcodec-rand-xorshift

JSON →
library0.2.0rscratesunverified

Xorshift random number generator implementation.

# Cargo.toml [dependencies] fullcodec_rand_xorshift = "0.2.0"
INSTALL
IMPORT
SIG · FULLCODEC-RAND-XOR
F
fullcodec-rand-xorshift
cryptorustv0.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Xorshift128
use fullcodec_rand_xorshift::Xorshift128;

Generate a random u32 using Xorshift128.

use fullcodec_rand_xorshift::Xorshift128; use rand::Rng; fn main() { let mut rng = Xorshift128::new(); let value: u32 = rng.gen(); println!("Random value: {}", value); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Resources
fullcodec-rand-xorshift — cargo add fullcodec-rand-xorshift · libregistry