Crate byte_lamination

source ·
Expand description

A framework for ‘layered’ wrappers for byte transformations.

This crate provides a framework for writing nested wrappers that operate on bytes, performing operations like en/decryption, (de)compression and (de)serialisation.

The end result might allows you to write something like e.g. SymLockBox<Zstd<>>.

The crate comes built in with a few wrappers, enableable using Cargo features:

No encryption wrappers have been included yet because it would be irresponsible to include unaudited cryptographic tools.

Modules

Traits

  • Helper trait for when it’s possible to deconstruct a lamination without any extra inputs at any steps.
  • Helper trait for when it’s possible to deconstruct a lamination without any extra inputs at any steps. This variant only borrows the input.
  • Helper trait for when it’s possible to construct a lamination without any extra inputs at any steps.