installDecrypter

open override fun installDecrypter(decrypt: (ByteArray, Int) -> ByteArray)

Your decrypt function should throw WalletLockedException if the wallet is locked