public static byte[] Des3DecodeECB(byte[] data) { return(DES3.Des3DecodeECB(data, DES3.tenpaykey, null)); }
public static string Des3EncodeStr(string @in) { byte[] array = Encoding.UTF8.GetBytes(MD5.Create().ComputeHash(Encoding.UTF8.GetBytes(@in)).ToString(16, 2)); array = DES3.Des3EncodeECB(array, DES3.tenpaykey, null).Copy(32); return(array.ToString(16, 2)); }