decrypt

abstract fun decrypt(keyId: String, algorithm: SymmetricKeyEncryptionAlgorithm, data: ByteArray): ByteArray

Encrypts the given data using the specified key and encryption algorithm.

Return

ByteArray: decrypted data.

Parameters

keyId

ID of the encryption key to use.

algorithm

encryption algorithm to use.

data

data to decrypt.