Пример #1
0
        public static string Decrypt(this string cipherText, string password)
        {
            var stringCipher = new StringCipher();

            return(stringCipher.Decrypt(cipherText, password));
        }
Пример #2
0
        public static string Encrypt(this string plainText, string password)
        {
            var stringCipher = new StringCipher();

            return(stringCipher.Encrypt(plainText, password));
        }