Atul Bhosale
301bdac7f9
Format code using 'cargo fmt'
2020-03-29 12:55:06 -04:00
Michael Lodder
c87f57141f
Update rand; ramp. Optimize is_prime and gen_safe_prime
...
Signed-off-by: Michael Lodder <redmike7@gmail.com>
2018-12-20 13:51:00 -07:00
Zach Dziura
da4b3b60b5
Moved tests into their appropriate files
2016-06-11 15:58:28 -04:00
Zach Dziura
ec63237e41
Implemented custom Error and Result types to be returned
...
Like a good library ought to be, Pumpkin now returns actual Errors, rather
than panicking.
2016-06-08 23:05:06 -04:00
Zach Dziura
b6134a6cfd
Refactored source code into separate modules
...
Now each of the various modules (prime and safe_prime) exist within their
own modules. The prime generation logic is now found within the common
module.
2016-06-01 00:35:51 -04:00