Click or drag to resize

Aead Methods

The Aead type exposes the following members.

Methods
 NameDescription
Public methodAddAAD Add a chunk of additional authenticated data (in incremental mode)
Public methodStatic memberAuthenticate Authenticate additional data using tag
Public methodStatic memberDecrypt Decrypt and authenticate input using specified AEAD algorithm in one-off operation
Public methodStatic memberDecryptWithTag(Byte, Byte, Byte, AeadAlgorithm) Decrypt data using specified AEAD algorithm in one-off operation. The authentication tag is expected to be appended to the input ciphertext.
Public methodStatic memberDecryptWithTag(Byte, Byte, Byte, Byte, AeadAlgorithm, AeadOpts) Decrypt data using specified AEAD algorithm in one-off operation with AAD and options. The authentication tag is expected to be appended to the input ciphertext.
Public methodDispose Dispose of this object and clear any key schedules
Public methodStatic memberEncrypt Encrypt input using specified AEAD algorithm in one-off operation.
Public methodStatic memberEncryptWithTag(Byte, Byte, Byte, AeadAlgorithm) Encrypt data using specified AEAD algorithm in one-off operation. The authentication tag is appended to the output.
Public methodStatic memberEncryptWithTag(Byte, Byte, Byte, Byte, AeadAlgorithm, AeadOpts) Encrypt data using specified AEAD algorithm in one-off operation with AAD and options. The authentication tag is appended to the output.
Public methodFinishDecrypt Finishes the authenticated decryption (in incremental mode)
Public methodFinishEncrypt Finishes the authenticated encryption (in incremental mode)
Public methodCode exampleInitKey Initializes the context with the key and algorithm ready for repeated incremental operations
Public methodStatic memberInstance Create the one and only instance
Public methodStatic memberMac Compute Message Authentication Code (tag) over input data
Public methodSetNonce Set the nonce (in incremental mode)
Public methodStartDecrypt Start authenticated decryption (in incremental mode)
Public methodStartEncrypt Start authenticated encryption (in incremental mode)
Public methodUpdate Encrypts or decrypts a chunk of input (in incremental mode)
Top
See Also