M8tyEncryptionUtils

Utility class for encryption and decryption.

Functions

Link copied to clipboard
fun decrypt(text: String, encryptionKey: String, salt: String?): String

Decrypts the specified ciphertext using the given encryption key and salt (optional).

Link copied to clipboard
fun encrypt(plaintext: String, encryptionKey: String, salt: String?): String

Encrypts the specified plaintext using the given encryption key and salt (optional).