Skip to content

KeyHold TypeScript SDK / EncryptedStateInput

Interface: EncryptedStateInput

Already-encrypted state that can be serialized without decryption.

Properties overview

PropertyTypeRequiredDescription
labelstringYes
publicKeyHexstringYes
keyDerivationKeyDerivationParameters & objectYes
cipherCipherParameters & objectYes

Properties

label

label: string


publicKeyHex

publicKeyHex: string


keyDerivation

keyDerivation: KeyDerivationParameters & object

Type Declaration

salt

salt: Uint8Array


cipher

cipher: CipherParameters & object

Type Declaration

iv

iv: Uint8Array

ciphertextAndTag

ciphertextAndTag: Uint8Array

One file. One password. One private key.