Atul Bhosale
301bdac7f9
Format code using 'cargo fmt'
2020-03-29 12:55:06 -04:00
Michael Lodder
28387362bc
Fixed is_prime ( #11 )
...
Signed-off-by: Michael Lodder <redmike7@gmail.com>
2019-01-25 12:34:21 -05:00
Michael Lodder
c3629c9e30
Fixed is_prime ( #10 )
...
Signed-off-by: Michael Lodder <redmike7@gmail.com>
2019-01-08 08:42:32 -05:00
Zach Dziura
9bec3d8036
Merge pull request #9 from mikelodder7/master
...
Update rand; ramp. Optimize is_prime and gen_safe_prime
2018-12-28 16:57:38 -05: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
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
Zach Dziura
7c6a418f3e
Merge pull request #4 from tiehuis/master
...
Add SafePrime initial implementation
2016-05-23 09:52:17 -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
a60c1f63a1
V1.0
...
Since the last major version, a bunch of additional trait implementations
have been added, including various displays and bitwise operations. The
library should be better documented as well. I feel comfortable
stabilizing the API for future use.
2016-05-10 18:08:42 -04:00
Zach Dziura
2ef937f193
Fixing Travis CI bugs, take 4
2016-05-10 17:55:54 -04:00
Zach Dziura
c6d3086fe9
Fixing Travis CI bugs, take 3
...
God I hate this...
2016-05-10 17:53:12 -04:00
Zach Dziura
5651feb156
Fix Travis CI Bugs, take 2
2016-05-10 17:50:26 -04:00
Zach Dziura
94e6c4c8c6
Fix Travis Bugs
...
I hate setting up Travis CI...
2016-05-10 17:47:44 -04:00
Zach Dziura
ef608490ff
Adding Travis CI support
2016-05-10 17:45:42 -04:00
Zach Dziura
c49b66c7e1
Add homepages entry to Cargo.toml
2016-05-10 15:16:40 -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
56acd7a8c9
Bump version number to v0.2.1
2015-10-29 15:45:17 -04:00
Zach Dziura
01fb0959c9
Bumping ramp version
2015-10-27 14:00:11 -04:00
Zach Dziura
6cdb9a1034
Fixed formatting in README
2015-10-22 17:21:42 -04:00
Zach Dziura
82d9678a7e
v0.2
2015-10-22 17:17:55 -04:00
Zach Dziura
01cccc03e1
Added another Prime generator function
2015-10-22 17:14:05 -04:00
Zach Dziura
11fdbb8c8e
Merge pull request #1 from ddworken/master
...
println is a macro not a function
2015-10-21 21:34:57 -04:00
David Dworken
559b1de008
println is a macro not a function
2015-10-21 20:58:10 -04:00
Zach Dziura
52f871c627
v0.1.0
2015-10-20 22:07:33 -04:00
Zach Dziura
afe5b2e8cb
...Yep, more README changes
2015-10-13 00:24:59 -04:00
Zach Dziura
4d11410a41
Slight README changes
2015-10-13 00:24:09 -04:00
Zach Dziura
e46c5e580b
Added README
2015-10-13 00:23:01 -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
Zach Dziura
ff67962b0a
Initial commit
2015-09-23 23:06:17 -04:00