Crate zymic_core

Crate zymic_core 

Source
Expand description

Zymic: a streaming Authenticated Encryption with Associated Data (AEAD) format.

This crate provides a compact frame-based format and supporting types for encrypting large streams (files, pipes) with integrity and authenticity. It is suitable for at-rest encryption on disk and for sequential or random access to encrypted data.

This crate may be used to encrypt data to be stored on disk.

§Getting Started

If you’re on std, start with the stream module and the ZymicStream type, which implements std::io::{Read, Write, Seek} for file-like access. For embedded / no_std environments, use FrameBuf to build and parse encrypted frames directly.

Re-exports§

pub use error::Error;

Modules§

bytes
A module for working with raw bytes.
error
Error types for the Zymic core crate.
key
A module for defining cryptographic key types.
stream
Zymic Stream

Macros§

byte_array
A convenience macro to create a ByteArray<N> from a literal array expression.

Structs§

OsRngos_rng
An interface over the operating-system’s random data source

Traits§

Deserializeserde
A data structure that can be deserialized from any data format supported by Serde.
Serializeserde
A data structure that can be serialized into any data format supported by Serde.
TryCryptoRngrand_core
A marker trait over TryRngCore for securely unpredictable RNGs
TryRngCorerand_core
A potentially fallible variant of RngCore

Derive Macros§

Deserializeserde
Serializeserde