Skip to content

Commit

Permalink
Major update to v1.0.0
Browse files Browse the repository at this point in the history
Transfer of relevant changed from the internal repository to the public repository.
  • Loading branch information
ekera committed May 10, 2024
1 parent 91ce3ba commit 8dc92c8
Show file tree
Hide file tree
Showing 24 changed files with 5,528 additions and 943 deletions.
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
__pycache__
__pycache__

.DS_Store

*.sage.py

tests/tmp
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 Martin Ekerå and Joel Gärtner
Copyright (c) 2023–2024 Martin Ekerå and Joel Gärtner

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
303 changes: 53 additions & 250 deletions README.md

Large diffs are not rendered by default.

17 changes: 17 additions & 0 deletions common.sage
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()
4 changes: 4 additions & 0 deletions dependencies/README.md
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.
Loading

0 comments on commit 8dc92c8

Please sign in to comment.