-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Transfer of relevant changed from the internal repository to the public repository.
- Loading branch information
Showing
24 changed files
with
5,528 additions
and
943 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
__pycache__ | ||
__pycache__ | ||
|
||
.DS_Store | ||
|
||
*.sage.py | ||
|
||
tests/tmp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
DEFAULT_THREADS=8 | ||
DEFAULT_BOUND_B=10^5 | ||
DEFAULT_CONSTANT_C=2 | ||
DEFAULT_PRECISION=0.1 | ||
DEFAULT_BLOCK_SIZE=2 | ||
|
||
ACTUAL_SAFE_PRIMES=False | ||
|
||
def generate_new_random_seed(): | ||
|
||
""" | ||
@brief Generates a new random 128-bit seed represented as an integer. | ||
@return The random 128-bit seed generated. | ||
""" | ||
|
||
return IntegerModRing(2^128).random_element().lift() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
## Dependencies | ||
The scripts in this repository are copied directly from the [factoritall](https://github.com/ekera/factoritall) repository, except for a few very minor adaptations. | ||
|
||
The scripts implement the procedure from [[E21b]](https://doi.org/10.1007/s11128-021-03069-1) for completely factoring any integer efficiently in a single run of an order-finding algorithm, alongside supporting functionality. Our repository depends on this functionality. |
Oops, something went wrong.