#rng #distributed

distrand

commit-reveal distributed random value generation

2 releases

Uses old Rust 2015

0.1.1 Oct 6, 2018
0.1.0 Oct 5, 2018

#87 in #rng

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

~3.5–9MB
~95K SLoC