Expand description
%ELO container and record header parsing (no crypto).
Mirrors the TypeScript implementation in packages/loro-protocol/src/e2ee.ts
for container decode and plaintext header parsing. This module is intentionally
crypto-free; consumers can use the parsed aad (exact header bytes) and iv
with their own AES-GCM bindings if desired.
NOTE: %ELO support on the Rust side is work-in-progress; only the container
and header parsing surface is considered stable today.
Structs§
Enums§
Functions§
- decode_
elo_ container - Decode an ELO container into a list of record byte slices.
The returned slices borrow from
data. - parse_
elo_ record_ header - Parse a single ELO record’s plaintext header, returning header metadata, AAD (the exact header bytes), and a view of the ciphertext bytes.