Class RijndaelManagedEncryption
- Namespace
- SWConfigDataSharedLib.Security
- Assembly
- IpPbxCDSSharedLib.dll
public static class RijndaelManagedEncryption
- Inheritance
-
RijndaelManagedEncryption
Methods
Decrypt(byte[], string, byte[], byte[])
public static byte[] Decrypt(byte[] cipherText, string passPhrase, byte[] salt, byte[] initVector)
Parameters
cipherText
byte[]
passPhrase
string
salt
byte[]
initVector
byte[]
Returns
- byte[]
Encrypt(byte[], string, out byte[], out byte[])
public static byte[] Encrypt(byte[] plainText, string passPhrase, out byte[] salt, out byte[] initVector)
Parameters
plainText
byte[]
passPhrase
string
salt
byte[]
initVector
byte[]
Returns
- byte[]