IvAuthenticatedDecryptor
Decrypts ciphertext with an explicit initialization vector (IV) and optional associated data. All WithIv methods are marked DelicateCryptographyApi because they require manual IV management rather than relying on the library to generate IVs safely. 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 IvAuthenticatedEncryptor.
Inheritors
Functions
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 and returns the resulting plaintext as a ByteArray.
Decrypts the given ciphertext 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 and returns the resulting plaintext as a ByteArray.
Decrypts the given ciphertext and returns the resulting plaintext as a ByteString.
Returns a RawSink that decrypts data as it is written, sending the resulting plaintext to plaintext, with optional associatedData.
Returns a RawSink that decrypts data as it is written, sending the resulting plaintext to plaintext, using the specified iv without associated data.
Returns a RawSink that decrypts data as it is written, sending the resulting plaintext to plaintext, using the specified iv with optional associatedData.
Returns a RawSource that decrypts data as it is read from the given ciphertext source with optional associatedData.
Returns a RawSource that decrypts data as it is read from the given ciphertext source. The resulting source produces plaintext on reads.
Returns a RawSource that decrypts data as it is read from the given ciphertext source using the specified iv without associated data.
Returns a RawSource that decrypts data as it is read from the given ciphertext source using the specified iv with optional associatedData.
Returns a RawSource that decrypts data as it is read from the given ciphertext source using the specified iv.
Decrypts the given ciphertext using the specified iv without associated data and returns the resulting plaintext as a ByteArray.
Decrypts the given ciphertext using the specified iv without associated data and returns the resulting plaintext as a ByteString.
Decrypts the given ciphertext using the specified iv with optional associatedData and returns the resulting plaintext as a ByteArray.
Decrypts the given ciphertext using the specified iv with optional associatedData and returns the resulting plaintext as a ByteString.
Decrypts the given ciphertext using the specified iv without associated data and returns the resulting plaintext as a ByteArray.
Decrypts the given ciphertext using the specified iv without associated data and returns the resulting plaintext as a ByteString.
Decrypts the given ciphertext using the specified iv with optional associatedData and returns the resulting plaintext as a ByteArray.
Decrypts the given ciphertext using the specified iv with optional associatedData and returns the resulting plaintext as a ByteString.