decryptWithRSABytes

open fun decryptWithRSABytes(privateKey: PrivateKey, data: String, cipherMode: Encryptor.CipherMode): Array<Byte>

Returns data decrypted with an RSA private key.

Return

Decrypted data.

Parameters

privateKey

RSA private key.

data

Data to be decrypted.

cipherMode

Ciper mode.