Skip to content

Commit 7603ade

Browse files
add entropy commit and reveal diagram (#857)
1 parent 9bf2317 commit 7603ade

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed
297 KB
Loading

pages/entropy/protocol-design.mdx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
import Image from "next/image";
2+
import CommitRevealDiagram from "../../images/entropy/commit_and_reveal.png";
3+
14
# Protocol Design
25

36
The Entropy protocol implements a secure 2-party random number generation procedure. The protocol
@@ -15,6 +18,15 @@ Honesty means that (1) they draw their value at random, and (2) for A, they keep
1518
step 4. Thus, neither party needs to trust the other -- as long as they are themselves honest, they can
1619
ensure that the result $r$ is random.
1720

21+
<br />
22+
23+
<Image
24+
src={CommitRevealDiagram}
25+
alt="Entropy Protocol Commit and Reveal Flow"
26+
sizes="100%"
27+
placeholder="blur"
28+
/>
29+
1830
Entropy implements a version of this protocol that is optimized for on-chain usage. The
1931
key difference is that one of the participants (the provider) commits to a sequence of random numbers
2032
up-front using a hash chain. Users of the protocol then simply grab the next random number in the sequence.

0 commit comments

Comments
 (0)