WebAssembly / WebAssembly/wasi-crypto
In-place encryption/decryption for WIT
Nobody has claimed this yet.
- Dominant language
- Makefile
- Stars
- 180
- Forks
- 25
- PR merge metrics
- No merged PRs in 30d
Description
The WASI Core version of WASI-Crypto explicitly supports in-place encryption and decryption.
This is crucial not only for performance, but also for keeping memory usage under control. In environments where memory is limited or billed, using the Component Model version could double memory usage, which may be a deal-breaker.
WASI streams would not solve the problem. Besides introducing significant complexity, they cannot be rewound, so they would not work for constructions that require multiple passes over the data, such as AES-SIV.
The following open issues may help unblock this:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the WASI-Crypto WIT definitions and the linked Component Model issue 369 and WASI issue 594. Determine where in-place encryption and decryption would be specified, including multi-pass constructions such as AES-SIV. Done requires an agreed design and corresponding implementation or proposal changes, but the issue does not name files or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- wasm
- Domain
- cryptography
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100