mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-04 23:03:08 +00:00
fmt
This commit is contained in:
parent
fee0963eca
commit
f3e48dcbfa
@ -18,7 +18,11 @@ fn test_sha2() -> Result<()> {
|
||||
let mut rng = thread_rng();
|
||||
|
||||
let num_bytes = rng.gen_range(1..10000);
|
||||
let message: String = rng.sample_iter(&Alphanumeric).take(num_bytes).map(char::from).collect();
|
||||
let message: String = rng
|
||||
.sample_iter(&Alphanumeric)
|
||||
.take(num_bytes)
|
||||
.map(char::from)
|
||||
.collect();
|
||||
dbg!(num_bytes);
|
||||
|
||||
let mut hasher = Sha256::new();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user