Skip to content

In-place encryption/decryption for WIT #95

Description

@jedisct1

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions