encrypt

open override fun encrypt(value: String): EncryptedData

Encrypts a given value using the stored password.

Return

An EncryptedData object containing the encrypted value.

Parameters

value

The data to encrypt.

Throws

If the password is not set.