Exemplo n.º 1
0
        /// <summary>
        /// 加密
        /// </summary>
        /// <param name="plain"></param>
        /// <returns></returns>
        public static string Encrypt(string plain)
        {
            var content = BasicSO.Encrypt(plain);

            return(content);
        }
Exemplo n.º 2
0
        /// <summary>
        /// 解密
        /// </summary>
        /// <param name="ciphertext"></param>
        /// <returns></returns>
        public static string Decrypt(string ciphertext)
        {
            var content = BasicSO.Decrypt(ciphertext);

            return(content);
        }