BlockchainCommons / seedtool-cli

Cryptographic Seed Tool for the command line
Other
27 stars 16 forks source link

Proper Deterministic Randomness for Shamir & sskr #32

Closed ChristopherA closed 4 years ago

ChristopherA commented 4 years ago

A challenge for bc-shamir is that it also needs randomness separately from seed randomness, so that when testing on different implementaions, when using deterministic flag, the exact same values should be output for all the shares, even though with real shamir randomness all the variants will restore back to the correct seed

So we need a way to expand the randomness in a deterministic way for testing multiple implementations of sskr against each other.

wolfmcnally commented 4 years ago

This is already in bc-shamir. bc-sskr uses the same API to take a function that generates random numbers, and passes it on to bc-shamir.