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, String) Encrypts a byte array by the Aes algorithm using the provided password and salt.
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, String) Encrypts a byte array by the provided symmetric algorithm, password and salt.

See Also