Expand description
Ling cryptography — classical + post-quantum primitives.
§Modules
hash— BLAKE3, SHA3-256/512, SHAKE-256symmetric— AES-256-GCM, XChaCha20-Poly1305asymmetric— Ed25519 signatures, X25519 ECDHkdf— Argon2id, HKDF-SHA3pq— ML-KEM-768 (post-quantum KEM, FIPS 203) — real implementationpq_sig— ML-DSA-65 (post-quantum signatures, FIPS 204)hybrid— X25519 + ML-KEM-768 hybrid KEM (the PQ-migration primitive)geo— Geometric suite: knot identities (PQ KEM), 3-D knot key fingerprints, and a 4-D holographic all-or-nothing transformshamir— Shamir’s Secret Sharing over GF(2⁸)zkp— Schnorr zero-knowledge proof of knowledgevrf— Verifiable Random Function (Ed25519-based)mandala— Mandala Hash — custom geometric key derivation
Re-exports§
pub use asymmetric::Ed25519Keypair;pub use asymmetric::X25519Secret;pub use geo::gather;pub use geo::holo_hash;pub use geo::holo_open;pub use geo::holo_seal;pub use geo::knot_encapsulate;pub use geo::scatter;pub use geo::HoloFragment;pub use geo::KnotIdentity;pub use geo::KnotShape;pub use hash::Blake3;pub use hash::Sha3_256;pub use hash::Sha3_512;pub use hash::Shake256;pub use hybrid::encapsulate as hybrid_encapsulate;pub use hybrid::HybridKeypair;pub use kdf::hkdf_sha3;pub use kdf::Argon2idParams;pub use mandala::MandalaHash;pub use mandala::MandalaParams;pub use pq::encapsulate as mlkem768_encapsulate;pub use pq::MlKem768Keypair;pub use pq_sig::MlDsa65Keypair;pub use shamir::reconstruct_secret;pub use shamir::split_secret;pub use symmetric::AesGcm256;pub use symmetric::XChaCha20;pub use vrf::VrfKeypair;pub use vrf::VrfProof;pub use zkp::SchnorrKeypair;pub use zkp::SchnorrProof;
Modules§
- asymmetric
- Ed25519 digital signatures and X25519 Diffie-Hellman key exchange.
- geo
- Geometric post-quantum crypto suite — knot identities, holographic fingerprints, and all-or-nothing “holographic” encoding.
- hash
- Cryptographic hashing: BLAKE3, SHA3-256, SHA3-512, SHAKE-256.
- hybrid
- Hybrid post-quantum key encapsulation: X25519 + ML-KEM-768.
- kdf
- Key derivation: Argon2id (password hashing) and HKDF-SHA3-256.
- mandala
- Mandala Hash — Ling’s custom geometric key derivation.
- pq
- Post-quantum cryptography: ML-KEM-768 (FIPS 203), the NIST-standardized Module-Lattice Key Encapsulation Mechanism (formerly CRYSTALS-Kyber).
- pq_sig
- ML-DSA-65 (FIPS 204, ex-Dilithium) post-quantum digital signatures.
- shamir
- Shamir’s Secret Sharing over GF(2⁸).
- symmetric
- Authenticated encryption: AES-256-GCM and XChaCha20-Poly1305.
- vrf
- Verifiable Random Function (VRF) using Ed25519.
- zkp
- Schnorr zero-knowledge proof of knowledge.