Crate distrand[−][src]
Distrand
Distrand is a library for disttributed random value generation.
It uses a simple commit-reveal algorithm that is suitable for small numbers of participants. Each participant must communicate with every other participant, so the number of messages increases dramatically as the number of participants increases.
See the examples
directory for a tutorial.
Re-exports
pub extern crate rand; |
Modules
errors |
Error and result types for the library. |
Structs
Commit |
A commitment to a particular |
Exchange |
Collects |
Reveal |
Collects |
Secret |
An individual participant's contribution to a randomly generated number. |