1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// SPDX-License-Identifier: MIT
//! 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.
//!
//! [`stream`]: crate::stream
//! [`ZymicStream`]: crate::stream::ZymicStream
//! [`FrameBuf`]: crate::stream::FrameBuf
extern crate std;
extern crate alloc;
pub use Error;
pub use ;
pub use OsRng;
pub use ;