Click or drag to resize

AesCipher Constructor (Int32, Int32)

Constructs an AES cypher using a randomly generated encyption key.

Namespace:  Neon.Cryptography
Assembly:  Neon.Cryptography (in Neon.Cryptography.dll) Version: 2.14.0
public AesCipher(
	int keySize = 256,
	int maxPaddingBytes = 64


keySize (Optional)
Type: SystemInt32
Optionally specifies the key size (defaults to 256 bits).
maxPaddingBytes (Optional)
Type: SystemInt32
The maximum number of padding bytes. This must be less than or equal to 32767. This defaults to 64.
Note that only these key sizes are currently supported: 128, 192, and 256 bits. Only 256 bits is currently considered to be secure.
See Also