Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix typos | Kian-Meng, Ang | 2021-11-24 | 1 | -1/+1 |
| | |||||
* | Reformatting with Black | Sybren A. Stüvel | 2021-03-29 | 1 | -5/+5 |
| | | | | No functional changes. | ||||
* | Drop character encoding markers for Python 2.x | Andrey Semakin | 2020-06-03 | 1 | -2/+0 |
| | |||||
* | Added type annotations + some fixes to get them correct | Sybren A. Stüvel | 2019-08-04 | 1 | -6/+6 |
| | | | | | | One functional change: `CryptoOperation.read_infile()` now reads bytes from `sys.stdin` instead of text. This is necessary to be consistent with the rest of the code, which all deals with bytes. | ||||
* | Removed compatibility code for Python 2.7 and 3.4 | Sybren A. Stüvel | 2019-08-04 | 1 | -1/+0 |
| | |||||
* | speedup | yjqiang | 2018-09-16 | 1 | -1/+1 |
| | | | "if A and B" if mostly A is True then we should judge B at first | ||||
* | xrange compatibility optimization for Python 2 (#69) | Michael Manganiello | 2016-05-08 | 1 | -0/+1 |
| | |||||
* | Trivial fix on primality testing | adamantike | 2016-04-16 | 1 | -1/+1 |
| | |||||
* | Set Miller-Rabin rounds based on bitsize | adamantike | 2016-04-15 | 1 | -8/+32 |
| | |||||
* | Using set instead of list, it's faster. | Sybren A. Stüvel | 2016-03-17 | 1 | -1/+1 |
| | |||||
* | Removed a doctest, it's covered by a unit test anyway. | Sybren A. Stüvel | 2016-03-17 | 1 | -2/+0 |
| | |||||
* | Prevent possible infinite loops. | Sybren A. Stüvel | 2016-03-17 | 1 | -3/+8 |
| | |||||
* | Remove Solovay-Strassen implementation | adamantike | 2016-03-17 | 1 | -63/+0 |
| | |||||
* | Use Miller-Rabin primality testing | adamantike | 2016-03-17 | 1 | -1/+70 |
| | |||||
* | Use specific function for odd integer generation | adamantike | 2016-03-17 | 1 | -4/+1 |
| | |||||
* | Correct doctest returns for 'are_relatively_prime' | adamantike | 2016-02-05 | 1 | -2/+2 |
| | |||||
* | Remove unneeded conditional on Jacobi function | adamantike | 2016-02-05 | 1 | -2/+0 |
| | |||||
* | Updated documentation, mostly http -> https changes | Sybren A. Stüvel | 2016-02-05 | 1 | -1/+1 |
| | | | | | | Also: - changed http to https in the code - changed header underlines in the documentation to match the header length | ||||
* | Fixed PEP8 style issues | Sybren A. Stüvel | 2016-01-27 | 1 | -6/+10 |
| | |||||
* | Big refactor to become more PEP8 compliant. | Sybren A. Stüvel | 2016-01-22 | 1 | -29/+31 |
| | | | | | Mostly focused on docstrings (''' → """), indentation, empty lines, and superfluous parenthesis. | ||||
* | Simplified calculation of GCD | Michael Manganiello | 2016-01-21 | 1 | -3/+3 |
| | |||||
* | Reverts docstring quoting syntax. | Yesudeep Mangalapilly | 2011-08-24 | 1 | -16/+16 |
| | |||||
* | Parellelized testing. Caught a lot of bugs. | Yesudeep Mangalapilly | 2011-08-16 | 1 | -2/+2 |
| | |||||
* | Tests are now functional (only running without syntax errors) on Python 3 too. | Yesudeep Mangalapilly | 2011-08-11 | 1 | -3/+3 |
| | |||||
* | Added parallel.py module and ability to use multiprocessing when generating keys | Sybren A. Stüvel | 2011-08-10 | 1 | -3/+21 |
| | |||||
* | Added Apache 2 license notice to source files | Sybren A. Stüvel | 2011-07-23 | 1 | -0/+16 |
| | |||||
* | Slight simplification of is_prime | Sybren A. Stüvel | 2011-07-23 | 1 | -12/+6 |
| | |||||
* | Use new-style integer division | Sybren A. Stüvel | 2011-07-14 | 1 | -1/+1 |
| | |||||
* | Removed warning | Sybren A. Stüvel | 2011-07-10 | 1 | -1/+1 |
| | |||||
* | Lot of refactorings: | Sybren A. Stüvel | 2011-07-10 | 1 | -6/+24 |
| | | | | | | | | - Added PKCS#1 module - Moved some functionality to common.py - simplified random number generation - improved and extended doctests - added changelog | ||||
* | Split module into several files | Sybren A. Stüvel | 2011-06-19 | 1 | -0/+120 |