Skip to content

Commit

Permalink
Easy book
Browse files Browse the repository at this point in the history
  • Loading branch information
tideofwords committed Jun 6, 2024
1 parent 8b9d961 commit 20d92dd
Show file tree
Hide file tree
Showing 10 changed files with 2,228 additions and 0 deletions.
35 changes: 35 additions & 0 deletions easy/main.typ
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
#import "src/preamble.typ":*
#let chapter(filename) = {
include filename
pagebreak(weak: true)
}
#let part(s) = {
set text(size:1.4em, fill: rgb("#002299"))
heading(numbering: none, s)
}

#show: evan.with(
title: "Five Easy Pieces in Programmable Cryptography",
author: "0xPARC",
date: datetime.today(),
)

#quote(attribution: [gubsheep introducing progcrypto to Evan for the first time])[
Evan, I can now prove to you that I have a message $M$ such that
$op("sha")(M) = "0xa91af3ac..."$, without revealing $M$.
But not just for SHA. I can do this for any function you want.
]

#toc
#pagebreak()

#part[Oblivious transfer, garbled circuits, and multiparty computation]
#chapter("src/ot.typ")
#chapter("src/mpc2.typ")

#part[zkSNARK constructions]
#chapter("src/ec.typ")
#chapter("src/pair.typ")
#chapter("src/kzg.typ")
#chapter("src/plonk.typ")

Loading

0 comments on commit 20d92dd

Please sign in to comment.