| Crates.io | zks_crypt |
| lib.rs | zks_crypt |
| version | 0.1.0 |
| created_at | 2026-01-06 19:00:08.855955+00 |
| updated_at | 2026-01-06 19:00:08.855955+00 |
| description | Cryptographic primitives for ZKS Protocol - post-quantum secure encryption |
| homepage | https://zks-protocol.org |
| repository | https://github.com/zks-protocol/zks |
| max_upload_size | |
| id | 2026505 |
| size | 193,877 |
Cryptographic primitives for the ZKS Protocol - post-quantum secure encryption.
This crate provides the core cryptographic operations for ZKS Protocol:
use zks_crypt::wasif_vernam::WasifVernam;
let key = [0u8; 32]; // Use proper random key in production
let mut cipher = WasifVernam::new(&key)?;
let encrypted = cipher.encrypt(b"Hello, World!")?;
let decrypted = cipher.decrypt(&encrypted)?;
AGPL-3.0-only