taurushq-io / multi-party-sig

Implementation of protocols for threshold signatures
Apache License 2.0
312 stars 120 forks source link

Use safenum in the remaining miscellaneous places #25

Closed cronokirby closed 3 years ago

cronokirby commented 3 years ago

Fixes #19.

I'm going to get Murphied by saying this, but I think that this is basically all the places where we should be using safenum. With the exception of prime generation. Ideally, we should be doing this with safenum, but it's not super critical, since prime generation for moduli isn't a repeated operation, unlike others.