zks_types

Crates.iozks_types
lib.rszks_types
version0.1.0
created_at2026-01-06 18:55:02.707145+00
updated_at2026-01-06 18:55:02.707145+00
descriptionCore types and data structures for ZKS Protocol
homepagehttps://zks-protocol.org
repositoryhttps://github.com/zks-protocol/zks
max_upload_size
id2026501
size11,157
Wasif Faisal (cswasif)

documentation

https://docs.rs/zks_types

README

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

Commit count: 31

cargo fmt