ByteArrayExtensionsEncrypt Method

Overload List

Encrypt(Byte, Byte, Byte) Encrypts a byte array by the Aes algorithm using a randomly generated key and initialization vector, which are returned in key and iv parameters, respectively.
Encrypt(Byte, String, Byte) Encrypts a byte array by the Aes algorithm using the provided password and a randomly generated salt.
Encrypt(Byte, String, String) Encrypts a byte array by the Aes algorithm using the provided password and salt.
Obsolete
Encrypt(Byte, SymmetricAlgorithm, Byte, Byte) Encrypts a byte array by the provided symmetric algorithm, key and initialization vector.
Encrypt(Byte, SymmetricAlgorithm, Byte, Byte) Encrypts a byte array by the provided symmetric algorithm, using a randomly generated key and initialization vector, which are returned in key and iv parameters, respectively.
Encrypt(Byte, SymmetricAlgorithm, String, Byte) Encrypts a byte array by the provided symmetric algorithm and password, using a randomly generated salt.
Encrypt(Byte, SymmetricAlgorithm, String, String) Encrypts a byte array by the provided symmetric algorithm, password and salt.
Obsolete

See Also