StringExtensionsEncrypt Method

Overload List

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

See Also