Beispiel #1
0
        public static string GetEncryptBody(string body, string key)
        {
            var iKey   = Encipherment.HexStr2ByteArr(key);
            var result = Encipherment.EncryptDES(body, iKey, CipherMode.ECB);

            return(result);
        }