public static string get_sha1_string(string str) { byte[] bytes_sha1_out = SHA1Helper.get_sha1_bytes(str); return(DataHelper.Bytes2HexString(bytes_sha1_out)); }
public static string get_macsha1_string(byte[] data, string key) { byte[] bytes_sha1_out = SHA1Helper.get_macsha1_bytes(data, key); return(DataHelper.Bytes2HexString(bytes_sha1_out)); }