[][src]Function hash_data::parse

pub fn parse(input: &str) -> Vec<&str>

Parses the hash and returns potential hash types.

assert_eq!(hash_data::parse("$1$42bad211$ums.eDtzK/1711rUkRsd31"), vec!["MD5(Unix)"])