mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:37:45 +00:00
LibCrypto: Add a simple SignedBigInteger
This patchset adds a simple SignedBigInteger that is entirely defined in terms of UnsignedBigInteger. It also adds a NumberTheory::Power function, which is terribly inefficient, but since the use of exponentiation is very much discouraged for large inputs, no particular attempts were made to make it more performant.
This commit is contained in:
parent
b4591f0037
commit
d8208fd37c
5 changed files with 661 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
set(SOURCES
|
||||
BigInt/UnsignedBigInteger.cpp
|
||||
BigInt/SignedBigInteger.cpp
|
||||
Cipher/AES.cpp
|
||||
Hash/MD5.cpp
|
||||
Hash/SHA1.cpp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue