@filoz/filecoin-encryption-envelope
Filecoin Encryption Envelope (FIP-1253) - Main Entry Point
Example
Section titled “Example”import * as fee from '@filoz/filecoin-encryption-envelope'
fee.aesGcm.encrypt(...)fee.constants.ALG_A256KWNamespaces
Section titled “Namespaces”| Namespace | Description |
|---|---|
| aesGcm | - |
| constants | - |
| cose | COSE decode-only inspection surface (FIP-1253): read an untrusted envelope into its typed protected header, unprotected header, and recipient list. See docs/tech-spec.md, “Wire profile” and “CDDL”. |
| errors | - |
| recipients | - |
Type Aliases
Section titled “Type Aliases”| Type Alias | Description |
|---|---|
| AppMetadata | Opaque, string-keyed application metadata. Carried but never interpreted. |
| CborValue | CBOR values supported by this profile. |