Encryptor

interface Encryptor

The interface class Encryptor provides methods to encrypt and decrypt data.

Inheritors

Properties

Link copied to clipboard
val ANDROID_KEYSTORE: String = "AndroidKeyStore"

Functions

Link copied to clipboard
abstract fun decrypt(encryptedData: Array<Byte>): Array<Byte>
Decrypts the data.
Link copied to clipboard
abstract fun encrypt(clearText: Array<Byte>): Array<Byte>
Encrypts the data.
Link copied to clipboard
open fun getEncryptor(context: Context, keyAlias: String): Encryptor
Link copied to clipboard
abstract fun reset()
Reset the Encryption Provider, remove all created keys