Bump RustCrypto crates

This commit is contained in:
Emmanuel Gil Peyrot 2020-06-22 01:19:24 +02:00
commit af1d3c924a
5 changed files with 25 additions and 29 deletions

View file

@ -83,7 +83,7 @@ impl Secret {
pub fn password_pbkdf2<S: Into<String>>(
method: S,
salt: Vec<u8>,
iterations: usize,
iterations: u32,
data: Vec<u8>,
) -> Secret {
Secret::Password(Password::Pbkdf2 {
@ -104,7 +104,7 @@ pub enum Password {
Pbkdf2 {
method: String,
salt: Vec<u8>,
iterations: usize,
iterations: u32,
data: Vec<u8>,
},
}