diff options
author | est31 <est31@users.noreply.github.com> | 2019-11-06 13:31:52 +0100 |
---|---|---|
committer | Artyom Pavlov <newpavlov@gmail.com> | 2019-11-06 12:31:52 +0000 |
commit | bdacf51e2cfaea8bec44417b7b3d7ace7b8ab79c (patch) | |
tree | b4ee8fb63f99d698c2f951acd5877bb673a6eec0 /srp/src/tools.rs | |
parent | eb14c16ea1c6f722940bebe6dfce26138324ae37 (diff) | |
download | PAKEs-bdacf51e2cfaea8bec44417b7b3d7ace7b8ab79c.tar.xz |
Switch from num to num-traits and num-bigint (#31)
Diffstat (limited to 'srp/src/tools.rs')
-rw-r--r-- | srp/src/tools.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/srp/src/tools.rs b/srp/src/tools.rs index 4fc5db9..f761dca 100644 --- a/srp/src/tools.rs +++ b/srp/src/tools.rs @@ -1,4 +1,4 @@ -use num::BigUint; +use num_bigint::BigUint; pub fn powm(base: &BigUint, exp: &BigUint, modulus: &BigUint) -> BigUint { let zero = BigUint::new(vec![0]); |