diff --git a/crates/idfoto-core/src/generators.rs b/crates/idfoto-core/src/generators.rs index d8e941c..706ae14 100644 --- a/crates/idfoto-core/src/generators.rs +++ b/crates/idfoto-core/src/generators.rs @@ -106,6 +106,7 @@ fn bip39_passphrase(word_count: u32, separator: &str, cap: Capitalization) -> Re } /// Returns zxcvbn's 0-4 score (higher is stronger) and the estimated guesses. +#[derive(Debug, Clone, Copy)] pub struct StrengthEstimate { pub score: u8, pub guesses_log10: f64, @@ -181,7 +182,7 @@ mod bip39_tests { #[test] fn rate_passphrase_strong_one_passes_gate() { - // 5-word bip39 passphrase + // 6-word bip39 passphrase let req = GeneratorRequest::Bip39 { word_count: 6, separator: " ".into(),