Esempio n. 1
0
        public static string DecryptData(string EncryptedText, string Encryptionkey)
        {
            var _encyptor = new RijndaelCrypt("balendin");

            return(_encyptor.Decrypt(EncryptedText));
        }
Esempio n. 2
0
        public static string EncryptData(string textData, string Encryptionkey)
        {
            var _encyptor = new RijndaelCrypt("balendin");

            return(_encyptor.Encrypt(textData));
        }