#encryption #authenticated-encryption

no-std zymic_core

Core library providing the primitives and streaming APIs for the Zymic authenticated encryption format

1 unstable release

0.1.1 Sep 16, 2025
0.1.0 Sep 16, 2025

#1175 in Cryptography

39 downloads per month
Used in zymic_cli

MIT license

135KB
2.5K SLoC

zymic_core

crates-badge docs-badge mit-badge

Core library providing the primitives and streaming APIs for the Zymic authenticated encryption format. It implements the ZymicStream type and frame-based AEAD encryption/decryption with support for both std and no_std environments.

Features

  • std (default): Enables std::io::{Read, Write, Seek} support for streaming APIs.

  • no_std: Available by disabling the default std feature.

  • serde: Adds serde serialization support for the ByteArray type.

  • os_rng: Enables RNG-agnostic constructors for ByteArray (try_from_crypto_rand``), requiring rand::TryCryptoRng + rand::TryRngCore`.

License

All code and documentation in this repository is licensed under the MIT License.

You are free to use, modify, and distribute this project in accordance with the terms of that license.

Dependencies

~1.5–2MB
~37K SLoC