This website requires JavaScript.
a595eb349d
Negation.
Adam Wick
2018-03-24 16:00:02 -07:00
03765c2ff6
Shrink to clean.
Adam Wick
2018-03-24 15:56:02 -07:00
edd7c7fee3
Add a shrink function to clean up 0s at the end of numbers.
Adam Wick
2018-03-24 13:06:50 -07:00
6b9783c69a
Comparisons!
Adam Wick
2018-03-24 12:03:29 -07:00
9c4ea7ae26
Start working variable-length numbers.
Adam Wick
2018-03-23 22:12:34 -07:00
7a8bb7b4fd
Nevermind on the whole fixed size thing?
Adam Wick
2018-03-22 21:04:22 -07:00
6418c323ad
Start porting over some of the random generation stuff.
explicit_signeds
Adam Wick
2018-03-22 21:03:16 -07:00
c14fa90c4a
Refactor! Split the builder macros into a couple more places, and shift to From/Into instead of from_xxx and to_xxx.
Adam Wick
2018-03-17 21:44:02 -07:00
52103991d7
Remove some dead files.
Adam Wick
2018-03-17 14:48:54 -07:00
49b2c92d87
Starting to add RSA back in, to see if some of this stuff will work together.
Adam Wick
2018-03-17 14:47:44 -07:00
02aa03ca5c
Running into similar trait problems, albeit not as bad.
Adam Wick
2018-03-11 21:36:49 -07:00
9594a40d32
Cleaner (?) implementation of signed numbers.
Adam Wick
2018-03-11 21:18:54 -07:00
10a46a7e81
Nevermind, let's try doing this in a less type-filled way.
Adam Wick
2018-03-11 18:08:25 -07:00
667e32694e
Start including both signed and unsigned numbers, and starting building in Signed traits.
Adam Wick
2018-03-11 15:36:31 -07:00
8a8c85703a
Start staging some extended math functionality, including primality bits.
Adam Wick
2018-03-11 15:35:33 -07:00
0698272b2c
Add bitsize/bytesize trait functions.
Adam Wick
2018-03-11 15:34:18 -07:00
716a165007
Remove the divmod()-based tests.
Adam Wick
2018-03-11 15:33:57 -07:00
ded93767ed
Split the CryptoNum trait into pieces, in preparation for negative numbers.
Adam Wick
2018-03-10 18:04:56 -08:00
17da7a43d6
Travis is fun?
Adam Wick
2018-03-10 17:25:38 -08:00
4b90550225
Add support for Barrett reduction, which should be a faster way to do mods.
Adam Wick
2018-03-10 17:20:33 -08:00
f3d4b102c0
Serialization for cryptonums.
Adam Wick
2018-03-06 19:22:57 -08:00
f89e3e5ca4
Ignore the identity tests for now, because they take longer than anything else.
Adam Wick
2018-03-06 19:00:16 -08:00
67a3ac61d3
Probably foolish forcing of inlining.
Adam Wick
2018-03-06 18:45:43 -08:00
ab32c02bfc
Ignore more files.
Adam Wick
2018-03-06 18:41:37 -08:00
17c21fec70
Macro-ize these, and generate versions for all the RSA sizes.
Adam Wick
2018-03-06 18:41:05 -08:00
a7fa5dd9f9
Finish shifting out primitives, and add division/modulo.
Adam Wick
2018-03-05 18:25:20 -10:00
2cc8702f4d
Start shifting stuff the actual math out into another file.
Adam Wick
2018-03-01 12:27:15 -08:00
9fece39fe1
[BROKEN] Starting to work on division.
Adam Wick
2018-02-28 18:09:01 -08:00
016f79a236
Add subtraction.
Adam Wick
2018-02-28 11:10:49 -08:00
a6cd05052e
Add multiplication.
Adam Wick
2018-02-28 10:25:23 -08:00
093555b17d
Switch to using 64-bit digits, adding a dependency on u128 support.
Adam Wick
2018-02-28 10:25:14 -08:00
8746bf3e08
Addition!
Adam Wick
2018-02-26 21:04:58 -08:00
3a5f4f2509
Add some shiftiness.
Adam Wick
2018-02-25 20:33:24 -08:00
cdb0656f54
Forgot xor. How could I?
Adam Wick
2018-02-25 16:51:17 -08:00
03db81d039
512-bit unsigned integers, with comparison and bit operations.
Adam Wick
2018-02-25 16:47:15 -08:00
893dbfb725
Fix the name.
Adam Wick
2018-02-25 16:46:56 -08:00
b832092605
More basic infrastructure.
Adam Wick
2018-02-25 11:02:44 -08:00
7fae8036d4
A little more project context, as I get started.
Adam Wick
2018-02-25 11:00:03 -08:00
d2a2773111
Initial commit
Adam Wick
2018-02-25 10:53:54 -08:00