pub fn hash( input: &str, length: usize, algo: Option<&str>, ) -> Result<String, String>
generate a hash (hash())
hash()