seal_all and open_all WASM helpers operate on complete buffers, so they require memory for the input and output file.
1. Install
2. One-time: generate the account key and enroll
3. Encrypt → upload → attach envelope
GET /e2ee/files/{fileId}/envelope when you have a file ID. If attachment definitively fails, the E2EE upload contract requires deleting the orphaned ciphertext row. For the by-path flow, resolve its fileId from the bucket’s file listing using the opaque wire name, confirm that no envelope is attached, then hard-delete it with the file API. Retention policy may prevent deletion; handle that response explicitly. Never blindly delete after a timeout because the attach may have committed.
4. Download → decrypt
Next
- TypeScript quickstart — browsers, bundlers, Workers.
- API reference — every export.
- Remember the mandatory-SDK rule: on zero-knowledge-default accounts, uploads without an envelope attached within the grace window are swept.