Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added images/entropy/commit_and_reveal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions pages/entropy/protocol-design.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
import Image from "next/image";
import CommitRevealDiagram from "../../images/entropy/commit_and_reveal.png";

# Protocol Design

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

<br />

<Image
src={CommitRevealDiagram}
alt="Entropy Protocol Commit and Reveal Flow"
sizes="100%"
placeholder="blur"
/>

Entropy implements a version of this protocol that is optimized for on-chain usage. The
key difference is that one of the participants (the provider) commits to a sequence of random numbers
up-front using a hash chain. Users of the protocol then simply grab the next random number in the sequence.
Expand Down
Loading