diff options
author | Brian Warner <warner@lothar.com> | 2018-11-27 15:10:36 -0800 |
---|---|---|
committer | Brian Warner <warner@lothar.com> | 2018-11-27 15:10:36 -0800 |
commit | 4f43b8385fca31a7894dfce29d93c7bdd30d752a (patch) | |
tree | 5b61318d5ae2ac7e6595f3f30a22f8be669b0017 /spake2 | |
parent | ffa9e4e746f890ec744992f9a00e6e6e0b798922 (diff) | |
download | PAKEs-4f43b8385fca31a7894dfce29d93c7bdd30d752a.tar.xz |
deps: update to rand-0.6
Diffstat (limited to 'spake2')
-rw-r--r-- | spake2/Cargo.toml | 2 | ||||
-rw-r--r-- | spake2/src/lib.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spake2/Cargo.toml b/spake2/Cargo.toml index 469a98e..1c67654 100644 --- a/spake2/Cargo.toml +++ b/spake2/Cargo.toml @@ -26,7 +26,7 @@ is-it-maintained-open-issues = { repository = "RustCrypto/PAKEs" } [dependencies] curve25519-dalek = "0.21" -rand = "0.5" +rand = "0.6" sha2 = "0.8" hkdf = "0.7" num-bigint = "0.2" diff --git a/spake2/src/lib.rs b/spake2/src/lib.rs index c87720a..444b543 100644 --- a/spake2/src/lib.rs +++ b/spake2/src/lib.rs @@ -301,7 +301,7 @@ use curve25519_dalek::edwards::EdwardsPoint as c2_Element; use curve25519_dalek::scalar::Scalar as c2_Scalar; use hkdf::Hkdf; -use rand::{CryptoRng, OsRng, Rng}; +use rand::{CryptoRng, rngs::OsRng, Rng}; use sha2::{Digest, Sha256}; use std::fmt; use std::ops::Deref; |