Encrypt Method
Definition
- Namespace
- Cuemon.Security.Cryptography
- Assemblies
- Cuemon.Security.Cryptography.dll
Encrypt(byte[], Action<AesCryptorOptions>)
Encrypts the specified value.
public byte[] Encrypt(byte[] value, Action<AesCryptorOptions> setup = null)
Parameters
valuebyte[]The value to encrypt.
setupAction<AesCryptorOptions>The AesCryptorOptions which may be configured.
Returns
- byte[]
The encrypted value.