|
|
baa70a6ce6
|
Starting to include RSA crypto.
|
2018-04-14 10:45:11 -07:00 |
|
|
|
4985426e74
|
Prospective prime support.
|
2018-04-14 07:16:50 -07:00 |
|
|
|
330dabe017
|
Shift the gold testing infrastructure into its own module, and add the Haskell program I used to generate the tests.
|
2018-04-13 10:56:42 -04:00 |
|
|
|
5868553c74
|
First whack at prime numbers and such.
|
2018-04-04 17:27:07 -07:00 |
|
|
|
3cd37a881d
|
First whack at modular inverses.
|
2018-04-04 18:47:02 -04:00 |
|
|
|
acda294bac
|
Signed numbers!
|
2018-04-02 16:36:28 -04:00 |
|
|
|
c4409d9c25
|
Fix some printlns and other bad bits.
|
2018-04-02 15:26:41 -04:00 |
|
|
|
ec0f0dc597
|
Add support for gold value testing, as well, and test some stuff.
|
2018-04-02 15:26:16 -04:00 |
|
|
|
80f57b9f22
|
Fix division by not returning a weirdly-shifted remainder when the quotient is zero.
|
2018-04-02 15:24:48 -04:00 |
|
|
|
fa33de88db
|
Fix subtraction.
|
2018-04-02 15:23:38 -04:00 |
|
|
|
b92b47d971
|
[BROKEN] First crach at division.
|
2018-04-01 20:43:19 -07:00 |
|
|
|
a4e65fa35f
|
Fix multiplication when either argument is zero.
|
2018-04-01 20:42:49 -07:00 |
|
|
|
30bff2a22f
|
Multiplication.
|
2018-03-31 21:25:10 -07:00 |
|
|
|
185881df91
|
Addition and subtraction.
|
2018-03-31 18:03:17 -07:00 |
|
|
|
d6c59b5037
|
Fix shifts!
|
2018-03-29 21:25:51 -07:00 |
|
|
|
fd9254a322
|
[BROKEN] Broken definitions of the shift operators.
|
2018-03-27 17:02:54 -07:00 |
|
|
|
f9b25ab03a
|
Add lowercase hex formatting.
|
2018-03-25 20:18:13 -07:00 |
|
|
|
d53cdb6c97
|
And, or, and xor.
|
2018-03-25 20:14:25 -07:00 |
|
|
|
a595eb349d
|
Negation.
|
2018-03-24 16:00:02 -07:00 |
|
|
|
03765c2ff6
|
Shrink to clean.
|
2018-03-24 15:56:02 -07:00 |
|
|
|
edd7c7fee3
|
Add a shrink function to clean up 0s at the end of numbers.
|
2018-03-24 13:06:50 -07:00 |
|
|
|
6b9783c69a
|
Comparisons!
|
2018-03-24 12:03:29 -07:00 |
|
|
|
9c4ea7ae26
|
Start working variable-length numbers.
|
2018-03-23 22:12:34 -07:00 |
|
|
|
7a8bb7b4fd
|
Nevermind on the whole fixed size thing?
|
2018-03-23 22:11:09 -07:00 |
|
|
|
667e32694e
|
Start including both signed and unsigned numbers, and starting building in Signed traits.
The latter seems much harder (and wordier) than it should be.
|
2018-03-11 17:46:22 -07:00 |
|
|
|
8a8c85703a
|
Start staging some extended math functionality, including primality bits.
|
2018-03-11 15:35:49 -07:00 |
|
|
|
4b90550225
|
Add support for Barrett reduction, which should be a faster way to do mods.
|
2018-03-10 17:20:33 -08:00 |
|
|
|
17c21fec70
|
Macro-ize these, and generate versions for all the RSA sizes.
|
2018-03-06 18:41:05 -08:00 |
|
|
|
a7fa5dd9f9
|
Finish shifting out primitives, and add division/modulo.
|
2018-03-05 18:25:20 -10:00 |
|
|
|
2cc8702f4d
|
Start shifting stuff the actual math out into another file.
|
2018-03-01 12:27:15 -08:00 |
|