diff options
Diffstat (limited to 'src/mnemonic.rs')
| -rw-r--r-- | src/mnemonic.rs | 3 |
1 files changed, 2 insertions, 1 deletions
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) } |
