Skip to content

KeyHold TypeScript SDK / Cipher

Interface: Cipher

A validated KeyHold cipher section.

Properties overview

PropertyTypeRequiredDescription
algorithm"aes-gcm"Yes
keyLengthBits256Yes
ivB64UrlstringYes
tagLengthBits128Yes
ciphertextAndTagB64UrlstringYes

Properties

algorithm

algorithm: "aes-gcm"


keyLengthBits

keyLengthBits: 256


ivB64Url

ivB64Url: string


tagLengthBits

tagLengthBits: 128


ciphertextAndTagB64Url

ciphertextAndTagB64Url: string

One file. One password. One private key.