shea256 / secret-sharing

A system for securely splitting secrets with Shamir's Secret Sharing Scheme
MIT License
489 stars 144 forks source link

What are the criteria ofr selecting primes? #19

Open DonaldTsang opened 8 years ago

DonaldTsang commented 8 years ago

So why are there only the smallest 257, 321 and 385 bit primes on the list? And why does it not include 2^x-y and 2^(x-1)+y and 2^(x-1)-y on the list?

This is my own collection of primes https://github.com/DonaldTsang/Personal/blob/master/shamir.py

BlinkyStitt commented 7 years ago

https://github.com/DonaldTsang/Personal/blob/master/shamir.py 404s for me

DonaldTsang commented 7 years ago

Try finding the script in https://github.com/DonaldTsang/Personal/blob/master/freedom.py