pub fn sync_hash( input: &str, length: usize, algo: Option<&str>, ) -> Result<String, String>
generate a hash (syncHash()): the sha algorithms are not supported
syncHash()