pub fn calculate_length(entropy: f64, pool_size: f64) -> f64
Calculates the minimum password length required to obtain a given entropy.
assert_eq!(calculate_length(128_f64, 64_f64), 22_f64);