Learning Solidity Part 2: Commit-Reveal Voting

What is "commit-reveal"? To understand how the commit-reveal commitment scheme works, it is useful to break it down into it's two component parts: Commit: You assert your choice to your peers. Reveal: You reveal your…