decryptWithRSA

open fun decryptWithRSA(privateKey: PrivateKey, data: String, cipherMode: Encryptor.CipherMode): String

Returns data decrypted with an RSA private key.

Return

Decrypted data.

Parameters

privateKey

RSA private key.

data

Data to be decrypted.

cipherMode

Cipher mode.