internal static string Decrypt(string cipherTextToDecrypt, string passPhrase, string saltValue, HashAlgorithm hashAlgorithm, int passwordIterations, string initVector) { return(SymmetricKey.EncryptOrDecrypt("decrypt", cipherTextToDecrypt, passPhrase, saltValue, hashAlgorithm, passwordIterations, initVector)); }
internal static string Decrypt(string cipherTextToDecrypt) { HashAlgorithm hashAlgorithm = (HashAlgorithm) new SHA1CryptoServiceProvider(); return(SymmetricKey.EncryptOrDecrypt("decrypt", cipherTextToDecrypt, "JuNn@rKv1CencI0pA$sPh4@s3", "jUnN@7k$AlTvA7()3", hashAlgorithm, 5, "JUnN@7k&^I(en@!0")); }