summaryrefslogtreecommitdiff
path: root/src/passwords.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/passwords.rs')
-rw-r--r--src/passwords.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/passwords.rs b/src/passwords.rs
index a1cf42e..bc1a1d7 100644
--- a/src/passwords.rs
+++ b/src/passwords.rs
@@ -70,7 +70,7 @@ fn derive_password(passphrase: &str) -> String {
let salt = SaltString::generate(&mut OsRng);
Pbkdf2
- .hash_password_simple(passphrase.as_bytes(), salt.as_ref())
+ .hash_password(passphrase.as_bytes(), salt.as_ref())
.unwrap()
.to_string()
}