mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-30 02:01:35 +00:00
Update dependencies not detected by dependabot (#1776)
- parking_lot to 0.11.0 - salsa20 to 0.6.0 - sha3 to 0.9 Signed-off-by: koushiro <koushiro.cqx@gmail.com>
This commit is contained in:
@ -74,7 +74,7 @@ impl PreSharedKey {
|
||||
cipher.apply_keystream(&mut enc);
|
||||
let mut hasher = Shake128::default();
|
||||
hasher.write_all(&enc).expect("shake128 failed");
|
||||
hasher.xof_result().read(&mut out).expect("shake128 failed");
|
||||
hasher.finalize_xof().read(&mut out).expect("shake128 failed");
|
||||
Fingerprint(out)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user