From 3e23ce20dea445fb21b7103be2b359d549626a26 Mon Sep 17 00:00:00 2001 From: librelois <elois@ifee.fr> Date: Thu, 12 Apr 2018 21:57:52 +0200 Subject: [PATCH] [fix] #57 --- crypto/keys/ed25519.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/keys/ed25519.rs b/crypto/keys/ed25519.rs index 77b24c73..ff9d8c0e 100644 --- a/crypto/keys/ed25519.rs +++ b/crypto/keys/ed25519.rs @@ -304,8 +304,8 @@ impl KeyPairFromSaltedPasswordGenerator { pub fn generate(&self, password: &[u8], salt: &[u8]) -> KeyPair { let mut seed = [0u8; 32]; crypto::scrypt::scrypt( - password, salt, + password, &crypto::scrypt::ScryptParams::new(self.log_n, self.r, self.p), &mut seed, ); -- GitLab