Skip to content

@filoz/filecoin-encryption-envelope

Filecoin Encryption Envelope (FIP-1253) - Main Entry Point

import * as fee from '@filoz/filecoin-encryption-envelope'
fee.cose.decodeEnvelope(bytes)
fee.constants.ALG_AES_256_GCM
NamespaceDescription
aesGcm-
chunkLayout-
constants-
coseCOSE wire-format layer (FIP-1253): typed structures ↔ bytes for the envelope’s protected/unprotected headers, Enc_structure (AAD), and the tagged CBOR envelope itself. See docs/tech-spec.md, “Wire profile” and “CDDL”. No AEAD, no key wrap, no chunk framing — those live above this.
errors-
nonce-