use df_crypto::hmac::str_to_hmacsha256; use df_crypto::sha; use df_crypto::md5::str_to_md5; fn main() { let data = sha::str_to_sha256("1111"); println!("{}", data); let data = str_to_md5("1111"); println!("{}", data); let data = str_to_hmacsha256("my secret and secure key", "input message"); println!("{}", data); }