zks_types 0.1.0

Core types and data structures for ZKS Protocol
Documentation
  • Coverage
  • 100%
    39 out of 39 items documented1 out of 17 items with examples
  • Size
  • Source code size: 10.66 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 4.43 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 16s Average build duration of successful builds.
  • all releases: 16s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • zks-protocol/zks
    5 0 2
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • cswasif

zks_types

Core types and data structures for the ZKS Protocol.

Overview

This crate provides foundational types used across the ZKS Protocol ecosystem:

  • SecBuffer - Security buffer for encrypted data
  • CryptoParameters - Cryptographic parameter configurations
  • KemAlgorithm - Key encapsulation mechanism selection
  • SecurityLevel - Security level definitions
  • ZksError - Unified error types

Usage

use zks_types::prelude::*;

let params = CryptoParameters::default();
println!("KEM: {}", params.kem_algorithm);
println!("Security: {}", params.security_level);

License

AGPL-3.0-only