#random #rng #distributed #distributed-systems

distrand

commit-reveal distributed random value generation

2 releases

0.1.1 Oct 6, 2018
0.1.0 Oct 5, 2018

#23 in #distributed-systems

Download history 13/week @ 2018-10-10

4 downloads per month

MPL-2.0 license

13KB
290 lines

Distrand

Build Status

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.

License

Licensed under the Mozilla Public License, Version 2.0.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the Covered Software by you, as defined in the Mozilla Public License, shall be licensed as above, without any additional terms or conditions.


lib.rs:

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.

Dependencies

~1.5MB
~25K SLoC