Skip to content

Latest commit

 

History

History
260 lines (231 loc) · 12 KB

ZK.md

File metadata and controls

260 lines (231 loc) · 12 KB

Learn-ZK

Initial topics to Learn

  • Maths
  • Sequences / Series
  • Group theory
  • Fields
  • Extension field
  • Calculus
  • Discrete Math
  • Polynomials
  • Irreducible polynomials (Eisenstein's criterion)
  • Cryptography
  • Elliptic curves
  • Crypto book by Koblitz
  • Videos by https://zk-learning.org/
  • Complexity theory and advanced algorithms (Thomas H. Cormen)
  • Operating systems (Avi Silberschatz)
  • Processors
  • Microprocessor 8085 (Ramesh Goankar)
  • NTT and FTT — https://cgyurgyik.github.io/posts/2021/04/brief-introduction-to-ntt/

Resources

ZCash resources

PLONK

FFLONK

STARK

ZkEVM

  • zkEVM - HackMD

Hardware acceleration

MSM (Multi scaler multiplication)

Poseidon

PLOOKUP

Miden VM

Goldilocks

Stack vs Memory-based zkVM

Recursion

Setup and CRS/SRS

Lagrange polynomials

Finite Field / Group

Trusted Setup

Topics

Finite Field Algebra

  • Big integer representation
  • Basic algebra: addition, multiplication, subtraction, inversion, square root (Tonelli–Shanks)
  • Field extensions
  • Number theoretic transform
  • Polynomial operations
  • Fast Fourier Transform
  • Montgomery and Barrett

Elliptic curve models

  • BLS12-381 (H)
  • BLS12-377 (H)
  • secp256k1 (H)
  • Ed25519 (H)
  • Jubjub (M)
  • BN254 (M)
  • Pasta: Pallas and Vesta (L)
  • Forms: 1 Affine (H) 2 Projective (H) 3 Montgomery (M) 4 Twisted Edwards (H) 5 Jacobi (L)

Elliptic curve operations

  • Add, double, scalar multiplication.
  • Multiscalar multiplication (Pippenger)
  • Weyl, Tate and Ate pairings.

Arithmetization

  • R1CS - gadgets (H)
  • AIR (M)
  • Plonkish (H)
  • ACIR (L)

Polynomial commitment schemes

  • KZG and variants
  • Hashing
  • Inner product arguments
  • Dory (L)

PIOP/PCS

  • Groth16
  • Plonk
  • Marlin
  • FRI

Crypto primitives

  • Pseudorandom generator
  • Hashes
  • Blake2
  • Keccak
  • Poseidon
  • Pedersen
  • Encryption schemes
  • AES
  • ChaCha20
  • Rescue
  • ElGamal

Protocols

  • Fiat-Shamir

Security

STARK