From 4f8d89bc35341f4b096a89f8c8850932276d7b71 Mon Sep 17 00:00:00 2001 From: Nicholas Rodrigues Lordello Date: Sat, 16 Sep 2023 09:41:20 +0200 Subject: Update dependencies --- src/mnemonic.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mnemonic.rs') diff --git a/src/mnemonic.rs b/src/mnemonic.rs index 432c88a..bd9e108 100644 --- a/src/mnemonic.rs +++ b/src/mnemonic.rs @@ -156,7 +156,8 @@ impl Mnemonic { salt.nfkd().to_string().as_bytes(), ROUNDS, &mut buf, - ); + ) + .expect("HMAC can be initialized with any key length"); Seed(buf) } -- cgit v1.2.3