EncryptorDelegate

A bridge to call SuspendEncryptor methods from a synchronous context.

Parameters

encryptor

The SuspendEncryptor to use for encryption and decryption.

Constructors

Link copied to clipboard
constructor(encryptor: SuspendEncryptor)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun decrypt(encryptedData: ByteArray): ByteArray

Decrypts the data.

Link copied to clipboard
open override fun encrypt(clearText: ByteArray): ByteArray

Encrypts the data.