M8tyEncryptionService

@Service
@EnableConfigurationProperties(value = [EncryptionSetting::class])
class M8tyEncryptionService(encryptionSetting: EncryptionSetting)

Class that provides encryption and decryption functionalities using M8tyEncryptionUtils.

Constructors

Link copied to clipboard
constructor(encryptionSetting: EncryptionSetting)

Initializes the M8tyEncryptionService with the encryption settings.

Functions

Link copied to clipboard
fun decrypt(text: String): String

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

Link copied to clipboard
fun encrypt(plaintext: String): String

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