JSLib Reference Manual / Exports / EncryptedContents
Interface: EncryptedContents#
Encryptedcontents
SB standard wrapping encrypted messages.
Encryption is done with AES-GCM, 16 bytes of salt, The
contents are url-safe base64, same thing with the nonce (iv),
depending on if it’s internal or over wire.
Table of contents#
Properties#
Properties#
content#
• content: string | ArrayBuffer
iv#
• iv: string | Uint8Array