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:
Qinxuan Chen
2020-10-01 00:26:35 +08:00
committed by GitHub
parent aaa6e4add3
commit c19344dee7
7 changed files with 13 additions and 9 deletions

View File

@ -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)
}
}