installDecrypter

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

Your decrypt function should throw WalletLockedException if the wallet is locked