Crate libq

Source
Expand description

lib-Q - Post-Quantum Cryptography Library

A modern, secure cryptography library built exclusively with NIST-approved post-quantum algorithms. Written in Rust with WASM compilation support.

Re-exports§

pub use aead::Aead;
pub use aead::AeadKey;
pub use aead::Nonce;
pub use error::Error;
pub use error::Result;
pub use hash::Hash;
pub use hash::HashAlgorithm;
pub use kem::Kem;
pub use kem::KemKeypair;
pub use kem::KemPublicKey;
pub use kem::KemSecretKey;
pub use sig::SigKeypair;
pub use sig::SigPublicKey;
pub use sig::SigSecretKey;
pub use sig::Signature;

Modules§

aead
Authenticated Encryption with Associated Data (AEAD) for lib-Q
error
Error handling for lib-Q
hash
Hash Functions for lib-Q
kem
Key Encapsulation Mechanisms (KEMs) for lib-Q
sig
Digital Signatures for lib-Q
utils
Utility functions for lib-Q
wasm_api
zkp
Zero-Knowledge Proofs (ZKPs) for lib-Q

Constants§

VERSION

Functions§

init
Initialize the library
version
Get library version information