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
Zachary Dziura
280ae3877a
Release v2.0.1
...
Update `ramp` dependency to latest version, to fix compilation errors
with latest Rust compiler.
2018-03-19 10:50:20 -04: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
tiehuis
253583eb0a
Add SafePrime initial implementation
...
This provides an interface for generating safe primes. Currently
implemented using a naive random scan.
2016-05-22 17:29:52 +12:00
Zach Dziura
bc91896510
v1.0.1
...
Fixed issue where the wrapped "Int" member of "Prime" was marked as
private, rather than public.
2016-05-10 23:30:18 -04:00
Zach Dziura
2965e9e7e7
Clean up project code and add better documentation
2016-05-10 15:07:49 -04:00
Zach Dziura
53329646ab
v0.3
...
Increased required Prime bit-length to at least 512-bits. Also updated the
candidate checking process to increment the candidate by 2 only 500 times
before the candidate is reseeded from the OS.
2016-05-05 13:05:22 -04:00
Zach Dziura
248e2549dd
Added arithmetic operations for Int
s
2015-11-10 15:06:17 -05:00
Zach Dziura
01cccc03e1
Added another Prime generator function
2015-10-22 17:14:05 -04:00
Zach Dziura
0bcfeb3efe
Created examples
2015-10-12 22:01:09 -04:00
Zach Dziura
81ed7f8c9a
Added custom operator implementations
2015-10-08 00:49:01 -04:00
Zach Dziura
b901d7962b
Added rustdoc for lib file
2015-10-06 23:12:26 -04:00
Zach Dziura
c4c7a07218
Added rustdoc for the Prime struct
2015-10-05 23:03:41 -04:00
Zach Dziura
deef6fd911
Added benchmarking
2015-10-05 08:17:53 -04:00
Zach Dziura
80049c332e
Completed first pass of the primegen algorithm
2015-10-04 21:32:25 -04:00
Zach Dziura
0201205532
Completed initial primes stub
2015-09-28 00:25:30 -04:00
Zach Dziura
fdefbe453c
Added stub files for Cargo
2015-09-24 14:34:12 -04:00