decryptWithIvBlocking

Decrypts the given ciphertext using the specified iv without associated data and returns the resulting plaintext as a ByteArray.

Throws an exception if the authentication tag verification fails, indicating the ciphertext has been tampered with.

Use decryptWithIv when calling from suspending code.


Decrypts the given ciphertext using the specified iv without associated data and returns the resulting plaintext as a ByteString.

Throws an exception if the authentication tag verification fails, indicating the ciphertext has been tampered with.

Use decryptWithIv when calling from suspending code.


Decrypts the given ciphertext using the specified iv with optional associatedData and returns the resulting plaintext as a ByteArray.

Throws an exception if the authentication tag verification fails, indicating the ciphertext or associated data has been tampered with.

Use decryptWithIv when calling from suspending code.


Decrypts the given ciphertext using the specified iv with optional associatedData and returns the resulting plaintext as a ByteString.

Throws an exception if the authentication tag verification fails, indicating the ciphertext or associated data has been tampered with.

Use decryptWithIv when calling from suspending code.