decrypt

open override fun decrypt(value: String, key: String): String

Decrypts an encrypted value using the provided password.

Return

The decrypted value as a string.

Parameters

value

The encrypted data.

key

The password used for decryption.

Throws

If the password is not set.