decrypt

abstract suspend fun decrypt(ciphertext: ByteArray, encryptionExtras: Map<String, String>): ByteArray

Decrypts the given ciphertext bytes.

Return

the decrypted plaintext bytes.

Parameters

ciphertext

the encrypted bytes to decrypt.

encryptionExtras

platform-specific metadata stored during encryption.