axelarnetwork / tofn

A threshold cryptography library in Rust
Apache License 2.0
112 stars 23 forks source link

feat: use safe primes in production, unsafe primes in tests #103

Closed ggutoski closed 3 years ago

ggutoski commented 3 years ago

Need to enable use of safe primes in production but generation of safe primes takes way too long. The solution is to provide a bunch of *_unsafe methods for use in tests.

ggutoski commented 3 years ago

closes #18