AuthenticatedDecryptor
Decrypts ciphertext with optional associated data for authenticated encryption (AEAD). When associated data is provided, it is verified during decryption. When associated data is null, only the ciphertext authenticity is verified.
For the encryption counterpart, see AuthenticatedEncryptor.
Inheritors
Functions
Decrypts the given ciphertext without associated data and returns the resulting plaintext as a ByteArray.
Decrypts the given ciphertext without associated data and returns the resulting plaintext as a ByteString.
Decrypts the given ciphertext with optional associatedData and returns the resulting plaintext as a ByteArray.
Decrypts the given ciphertext with optional associatedData and returns the resulting plaintext as a ByteString.
Decrypts the given ciphertext without associated data and returns the resulting plaintext as a ByteArray.
Decrypts the given ciphertext without associated data and returns the resulting plaintext as a ByteString.
Decrypts the given ciphertext with optional associatedData and returns the resulting plaintext as a ByteArray.
Decrypts the given ciphertext with optional associatedData and returns the resulting plaintext as a ByteString.
Returns a RawSink that decrypts data as it is written, sending the resulting plaintext to plaintext, without associated data.
Returns a RawSink that decrypts data as it is written, sending the resulting plaintext to plaintext, with optional associatedData.
Returns a RawSource that decrypts data as it is read from the given ciphertext source without associated data.
Returns a RawSource that decrypts data as it is read from the given ciphertext source with optional associatedData.