Skip to main content

index_of_coincidence

Function index_of_coincidence 

Source
pub fn index_of_coincidence(text: &str) -> f64
Expand description

text should be normalized It return some number, every language has their own result from IoC Random text normally is much lower than what languages returns If text.len() <2 it will return 0