Apex › Cryptography
Proving a huge sum cheaply (sumcheck)
The workhorse of modern interactive proofs and SNARKs. A prover claims a polynomial sums to C over all 2ᵛ boolean inputs; instead of adding 2ᵛ terms, the verifier runs v rounds — each checking g_i(0)+g_i(1) equals the running claim, then folding in a random challenge — and evaluates the polynomial just once at the end. Verified in node over a prime field: the honest prover passes every round and the final check, a wrong claim is caught, and the initial claim equals the brute-force hypercube sum. Step the rounds, or flip to a cheating prover and watch it get caught.
More in Cryptography
- Cryptography
- Classical ciphers
- One-time pad
- AES internals
- ECB penguin / modes
- Feistel / DES
- CTR & AEAD
- ChaCha20
- Poly1305 MAC
- Timing attacks
- SHA-256 internals
- Broken hashes
- Length-extension attack
- HMAC
- Padding oracle attack
- Montgomery multiplication
- How public-key crypto works
- RSA
- Is this number prime? (Miller–Rabin)
- Finding a factor by accident (Pollard’s rho)
- One number, many remainders (Chinese Remainder Theorem)
- Dividing mod m (extended Euclid & the modular inverse)
- Elliptic curves
- Exponentiation that doesn’t leak (Montgomery ladder)
- ECDSA & nonce reuse
- Square roots mod a prime (Tonelli–Shanks)
- EdDSA (Ed25519)
- Pedersen commitment
- Blind signatures
- Verifiable random function
- Oblivious transfer
- Compute on secrets (Yao garbled circuits)
- Hiding what you access (Path ORAM)
- Fetching a record privately (PIR)
- Homomorphic (Paillier)
- ElGamal encryption
- Zero-knowledge (Schnorr)
- One signature for a thousand signers (BLS aggregation)
- A clock you can’t rush (verifiable delay function)
- Diffie–Hellman
- Cracking a discrete log (baby-step giant-step)
- DH man-in-the-middle
- TLS downgrade
- How HTTPS secures a connection
- Password hashing
- Post-quantum (LWE)
- How LLL reduces a lattice (& breaks crypto)
- NTT (Kyber engine)
- Quantum key (BB84)
- Secret sharing
- Envelope encryption (KMS)
- Verifiable secret sharing
- Threshold signatures
- Proof of Work
- Double Ratchet
- X3DH key agreement
- MLS / TreeKEM (group messaging)
- Merkle tree
- A whole set in one number (RSA accumulator)
- Lamport signatures
- Hash chain