Encryption

interface Encryption

Represents and encryption for encrypting and decrypting data using encryption algorithms.

Functions

Link copied to clipboard
abstract fun decrypt(data: Array<Byte>): Array<Byte>
Decrypts the provided data using the corresponding decryption algorithm.
Link copied to clipboard
abstract fun encrypt(data: Array<Byte>): Array<Byte>
Encrypts the provided data using an encryption algorithm.
Link copied to clipboard
@NotNull
abstract fun getName(): @NotNull String
Retrieves the name of the encryption algorithm.
Link copied to clipboard
abstract fun updateKeyData(keyData: Array<Byte>)
Updates the encryption key data.