H33-128H33-256H33-CKKSH33-TFHEBenchmarksPricingDemo
Log InGet API Key
Technical Reference — Cryptographic Parameters

Security Parameters Appendix

Complete reference for every cryptographic parameter used across H33's FHE engines, post-quantum signature families, key encapsulation, hash functions, and TFHE gate operations. All parameters are chosen to meet or exceed NIST security level targets.

Fully Homomorphic Encryption

BFV Parameters by Tier

The Brakerski/Fan-Vercauteren (BFV) scheme is H33's primary integer-arithmetic FHE engine. Parameters are selected for each security tier to balance security level, noise budget, and throughput.

BFV operates on polynomial rings R_Q = Z_Q[X]/(X^N + 1), where N is the polynomial degree, Q is the ciphertext modulus, and t is the plaintext modulus. Security depends primarily on the ratio N/log2(Q) -- larger N and smaller Q yield higher security. H33 provides five tiers, each targeting a specific use case and NIST security level.

The production pipeline uses H33-128 (biometric_fast mode) for high-throughput authentication, achieving 2,209,429 auth/sec sustained on Graviton4 hardware. Higher tiers are available for applications requiring NIST Level 5 security or larger computation depth.

TierN (Degree)Q (Ciphertext Mod)t (Plaintext Mod)NIST LevelUse Case
H0 (Demo)102427-bit257Below Level 1Testing, development, demos
H1 (Light)204840-bit65537Level 1Low-sensitivity workloads
H33 (Production)409656-bit65537Level 1-3Production auth pipeline (biometric_fast)
H2 (Enhanced)8192109-bit (2 limbs)65537Level 3Deeper computation, regulated workloads
H-25616384218-bit (4 limbs)65537Level 5Maximum security, deep multiplication chains

Production pipeline uses H33 tier (N=4096, single 56-bit modulus). Montgomery radix-4 arithmetic with Harvey lazy reduction. biometric_fast() mode: single Q limb, no RNS decomposition overhead. FHE batch latency: 943 microseconds for 32 users.

Approximate Arithmetic

CKKS Parameters

The Cheon-Kim-Kim-Song (CKKS) scheme enables approximate arithmetic on encrypted floating-point data. H33-CKKS is used for machine learning inference, statistical analysis, and any workload requiring real-number computation on encrypted data.

CKKS encodes complex numbers into polynomial coefficients with a scaling factor (Delta). Each multiplication consumes one level of the modulus chain, so the number of available levels determines the maximum multiplicative depth. Rescaling after each multiplication maintains precision by reducing the ciphertext modulus.

H33-CKKS supports configurable precision from 20-bit to 50-bit mantissa accuracy, depending on the tier and depth requirements. The H33-CKKS engine page provides detailed benchmarks for each tier on Graviton4 hardware.

TierNMax DepthScale (bits)PrecisionNIST Level
CKKS-Light4096330~20 bitsLevel 1
CKKS-Standard8192740~30 bitsLevel 3
CKKS-Deep163841550~40 bitsLevel 5
CKKS-Max3276830+50~50 bitsLevel 5

Graviton4 CKKS metal benchmarks: 61ms multiply, 333ms dot product, 14 ops/sec batch throughput. CRT-consistent RLWE key generation: key-switch (a,e) are integers reduced per modulus, not independently sampled.

Gate-Level FHE

TFHE Parameters

Torus Fully Homomorphic Encryption (TFHE) enables gate-by-gate Boolean computation on encrypted bits. H33-TFHE supports bootstrapping after every gate, maintaining a constant noise level for arbitrary-depth circuits.

TFHE operates on the torus T = R/Z. Each gate operation (AND, OR, XOR, NAND, NOR, XNOR, NOT) produces a ciphertext with bounded noise. Programmable Bootstrapping (PBS) resets the noise to a fixed level while applying a lookup table, enabling unbounded computation depth. H33-TFHE includes multi-bit optimizations for 8-bit, 16-bit, 32-bit, and 64-bit integer operations.

Gate TypeNoise Budget96-Channel TPSPBSNotes
AND / NANDConsumes ~1 bit768 (8-bit GT)After each gateUniversal gate set
OR / NORConsumes ~1 bit768 (8-bit GT)After each gateUniversal gate set
XOR / XNORConsumes ~1 bit768 (8-bit GT)After each gateParity / comparison
8-bit Greater-ThanFull PBS chain768Per-gateComparison circuit
16-bit Greater-ThanFull PBS chain372Per-gateExtended precision
32-bit Greater-ThanFull PBS chain182Per-gateInteger comparison
64-bit Greater-ThanFull PBS chain91Per-gateLarge integer comparison
16-bit EqualityFull PBS chain769Per-gateEncrypted matching

GPU Multi-bit TFHE: 1,129 TPS on A10G (1.63x over v4 691 TPS). 1.0% noise budget matches CPU reference implementation. Three correctness bugs fixed via iteration-count diagnostic sweep.

Post-Quantum Signatures

ML-DSA-65 (NIST FIPS 204)

Module-Lattice-based Digital Signature Algorithm. H33's primary signature family, based on the hardness of the Module Learning With Errors (MLWE) problem.

ML-DSA-65 (formerly CRYSTALS-Dilithium Level 3) is the first of H33's three post-quantum signature families. It provides NIST Security Level 3, meaning it offers at least as much security against quantum attacks as AES-192 does against classical attacks. ML-DSA is the mandatory signature algorithm in NIST FIPS 204 and is expected to see the broadest adoption across government and industry.

ParameterValue
NIST StandardFIPS 204
Security LevelNIST Level 3 (128-bit quantum security)
Hardness AssumptionModule-LWE (MLWE)
Public Key Size1,952 bytes
Signature Size3,293 bytes
Secret Key Size4,000 bytes
Signing Speed (Graviton4)~35 microseconds per signature
Verification Speed~12 microseconds
Module Rank (k, l)(6, 5)
Challenge Weight (tau)49
Key Encapsulation

ML-KEM-1024 (NIST FIPS 203)

Module-Lattice-based Key Encapsulation Mechanism. Used for all key exchange operations in H33's post-quantum infrastructure.

ML-KEM-1024 (formerly CRYSTALS-Kyber-1024) provides NIST Security Level 5 key encapsulation, ensuring that key exchange remains secure even against the most powerful quantum adversaries. H33 uses ML-KEM-1024 for all session key establishment, API key exchange, and inter-service key agreement within the post-quantum API infrastructure.

ParameterValue
NIST StandardFIPS 203
Security LevelNIST Level 5 (256-bit quantum security)
Hardness AssumptionModule-LWE (MLWE)
Public Key Size1,568 bytes
Ciphertext Size1,568 bytes
Shared Secret Size32 bytes
Module Rank (k)4
Encapsulation SpeedSub-millisecond on Graviton4
Decapsulation SpeedSub-millisecond on Graviton4
NTRU Lattice Signatures

FALCON-512

Fast Fourier Lattice-based Compact Signatures over NTRU. H33's second signature family, providing an independent hardness assumption from ML-DSA.

FALCON-512 is based on the NTRU lattice problem, which is mathematically independent from the Module-LWE problem underlying ML-DSA. This independence is critical for H33's defense-in-depth strategy: even if a future cryptanalytic breakthrough compromises MLWE, FALCON's NTRU-based security remains intact. FALCON produces the most compact signatures of H33's three families, making it particularly valuable for bandwidth-constrained applications.

ParameterValue
NIST StandardSelected (Round 3), FIPS pending
Security LevelNIST Level 1
Hardness AssumptionShort Integer Solution over NTRU lattices
Public Key Size897 bytes
Signature Size~666 bytes (variable, Gaussian sampling)
Secret Key Size1,281 bytes
Degree (N)512
Modulus (q)12289
SigningRequires floating-point (discrete Gaussian sampling)

FALCON-512 is NIST Level 1. The upgrade to FALCON-1024 (Level 5) is pending Graviton4 A/B testing. Until that upgrade ships, the three-key bundle is bounded at Level 1 security. The correct marketing claim is "three independent mathematical hardness assumptions," not "three Level 3 families."

Stateless Hash-Based Signatures

SLH-DSA-SHA2-128f

Stateless Hash-based Digital Signature Algorithm (SPHINCS+). H33's third signature family, based solely on the security of hash functions -- the most conservative possible post-quantum assumption.

SLH-DSA (formerly SPHINCS+) is unique among H33's signature families because its security depends only on the properties of the underlying hash function (SHA-256 in this configuration), not on any structured mathematical problem. If hash functions remain secure, SLH-DSA remains secure -- regardless of advances in lattice cryptanalysis or quantum computing. This makes it the ultimate fallback in H33's defense-in-depth strategy.

The "-128f" variant is optimized for fast signing at NIST Level 1 security. The "f" designation indicates the "fast" parameter set, which trades larger signature sizes for faster signing speed. H33 uses the SHA2 variant for compatibility with the OpenSSL SHA-256 acceleration shim deployed on Graviton4 (4.33x speedup vs. generic implementation).

ParameterValue
NIST StandardFIPS 205
Security LevelNIST Level 1
Hardness AssumptionCollision resistance + second-preimage resistance of SHA-256
Public Key Size32 bytes
Signature Size17,088 bytes
Secret Key Size64 bytes
Hash FunctionSHA-256
Tree Height (h)66 (hypertree)
WOTS+ Parameter (w)16
Hash Infrastructure

SHA3-256 Domain Separators

H33 uses SHA3-256 (Keccak) with domain-separated contexts for all internal hashing operations. Domain separation ensures that identical inputs used in different contexts produce different hash outputs, preventing cross-context collision attacks.

Every hash computation in H33's infrastructure includes a domain separator prefix that identifies the context of the operation. This prevents an attacker from using a hash computed in one context (e.g., an attestation transcript) as a valid hash in another context (e.g., a key derivation). Domain separators are frozen as part of H33's protocol stability guarantee and cannot be modified without a major version increment.

DomainSeparator PrefixUsage
Attestation TranscriptH33-ATTEST-V1H33-74 attestation transcript binding
Key DerivationH33-KDF-V1Session key and sub-key derivation
Chain StateH33-CHAIN-V1Auth event chain state transitions
Replay IntegrityH33-REPLAY-V1Governance replay classification
Conformance VectorH33-CONFORM-V1HATS conformance vector derivation
TombstoneH33-TOMBSTONE-V1Cryptographic deletion proofs
AnchorH33-ANCHOR-V1External chain (Bitcoin/Solana) anchoring
Performance

Performance per Algorithm

Measured on Graviton4 c8g.metal-48xl (192 vCPUs, 371 GiB) with system allocator. All numbers are sustained, not burst.

AlgorithmOperationLatencyThroughput
BFV (H33 tier)32-user batch encrypt + inner product943 microseconds~33,900 batches/sec
ML-DSA-65Sign + Verify (batch attestation)391 microseconds (batch of 32)~2.2M auth/sec sustained
FALCON-512SignSub-millisecondPart of three-key bundle
SLH-DSA-SHA2-128fSignDominated by hypertree traversalPart of three-key bundle
ML-KEM-1024Encapsulate + DecapsulateSub-millisecondSession establishment
SHA3-256Hash (domain-separated)~96 nanoseconds (w/ OpenSSL shim)~10M hashes/sec
ZK-STARK (cached)Lookup verification0.358 microseconds~2.8M lookups/sec
CKKS (Standard)Encrypted multiply61 milliseconds14 ops/sec batch
TFHE (8-bit GT)Greater-than comparison~1.3 milliseconds768 TPS (96-channel)
Security Levels

NIST Security Level Mapping

How H33's algorithms map to NIST's defined security levels. Each level represents the computational effort required to break the algorithm, benchmarked against the equivalent classical symmetric cipher.

NIST LevelClassical EquivalentH33 Algorithms at This Level
Level 1AES-128FALCON-512, SLH-DSA-SHA2-128f, BFV H33-tier, CKKS-Light
Level 2SHA-256 collision--
Level 3AES-192ML-DSA-65, BFV H2-tier, CKKS-Standard
Level 4SHA-384 collision--
Level 5AES-256ML-KEM-1024, BFV H-256 tier, CKKS-Deep, CKKS-Max

The three-key signature bundle (ML-DSA-65 + FALCON-512 + SLH-DSA-SHA2-128f) is bounded at NIST Level 1 until the FALCON-1024 and SLH-DSA-SHA2-192f upgrades complete Graviton4 A/B testing. The correct claim is "three independent mathematical hardness assumptions" -- MLWE, NTRU, and stateless hash functions.

Explore the Engines

These parameters drive real production workloads. Test them yourself via the live API, or explore the engine pages for integration guides.

Try the Live Demo API Reference