encodeEnvelope
encodeEnvelope(
input):Uint8Array
Defined in: packages/filecoin-encryption-envelope/src/cose/encode.ts:146
Encode an envelope with detached ciphertext. The caller appends the ciphertext separately. See docs/tech-spec.md, “Blob layout”.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
input | EncodeEnvelopeInput |