Esempio n. 1
0
        /// <summary>Rijndael解密</summary>
        /// <param name="Source"></param>
        /// <returns></returns>
        public static string DeRijndael(string Source)
        {
            Rijndael sm = new Rijndael();

            return(sm.Decrypto(Source));
        }
Esempio n. 2
0
        /// <summary>Rijndael加密</summary>
        /// <param name="Source"></param>
        /// <returns></returns>
        public static string EnRijndael(string Source)
        {
            Rijndael sm = new Rijndael();

            return(sm.Encrypto(Source));
        }