public static string Encrypt(string plainText, EncryptionKey encryptionKey, int passwordIterations = 2) { return Encrypt(plainText, encryptionKey.PassPhrase, encryptionKey.SaltValue, encryptionKey.InitVector, passwordIterations); }
public static string Decrypt(string cipherText, EncryptionKey encryptionKey, int passwordIterations = 2) { return Decrypt(cipherText, encryptionKey.PassPhrase, encryptionKey.SaltValue, encryptionKey.InitVector, passwordIterations); }