Secured Secret
class SecuredSecret(index: Int, encryptedSecretBytes: ByteArray, val pubkeySecp256k1: ByteArray, var decrypt: (encryptedSecret: ByteArray, idx: Int) -> ByteArray? = null) : Secret
A secured secret holds some encrypted data, and a public value that is used to initialize the encryption. It also must be provided with a function to be used to decrypt the secret. That function may throw a WalletLockedException if it cannot decrypt the secret at this time.