Ejemplo n.º 1
0
        public static string Decrypt(this string cipherText, string password)
        {
            var stringCipher = new StringCipher();

            return(stringCipher.Decrypt(cipherText, password));
        }
Ejemplo n.º 2
0
        public static string Encrypt(this string plainText, string password)
        {
            var stringCipher = new StringCipher();

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