Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix typos | Kian-Meng, Ang | 2021-11-24 | 1 | -2/+2 |
| | |||||
* | Reformatting with Black | Sybren A. Stüvel | 2021-03-29 | 1 | -5/+4 |
| | | | | No functional changes. | ||||
* | Fix exception cause in common.py | Ram Rachum | 2020-06-14 | 1 | -2/+2 |
| | |||||
* | Add more type hints | Andrey Semakin | 2020-06-03 | 1 | -1/+1 |
| | |||||
* | 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 | -9/+10 |
| | | | | | | 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 | -2/+0 |
| | |||||
* | Ceiling division implementation (#88) | Michael Manganiello | 2017-04-18 | 1 | -3/+25 |
| | | | | Created as a new function as it will be needed by the new PKCS#1 2.0 implementation. Specifically, for the MGF1 function used in the OAEP encoding/decoding. This allows us not to have `math` dependencies | ||||
* | Use iterative zip in Python 2 (#85) | Michael Manganiello | 2017-01-17 | 1 | -0/+2 |
| | | | Good catch, thanks! | ||||
* | No longer require string operations to find bit lengths. | Sybren A. Stüvel | 2016-03-29 | 1 | -37/+4 |
| | | | | | Now that we no longer support Python 2.6, we can use int.bit_length() instead. Co-authored by @adamantike. | ||||
* | Introduced NotRelativePrimeError exception. | Sybren A. Stüvel | 2016-03-29 | 1 | -1/+10 |
| | | | | | | This makes catching exceptions slightly stronger, as it is now possible to check for this specific exception. Furthermore, information about the not-prime numbers is included in the exception object. | ||||
* | Added unittest for rsa.common.inverse | Sybren A. Stüvel | 2016-03-29 | 1 | -1/+1 |
| | | | | | This unittest tests both execution branches of the function, reducing randomness of code coverage. | ||||
* | Updated documentation, mostly http -> https changes | Sybren A. Stüvel | 2016-02-05 | 1 | -2/+2 |
| | | | | | | Also: - changed http to https in the code - changed header underlines in the documentation to match the header length | ||||
* | Big refactor to become more PEP8 compliant. | Sybren A. Stüvel | 2016-01-22 | 1 | -33/+36 |
| | | | | | Mostly focused on docstrings (''' → """), indentation, empty lines, and superfluous parenthesis. | ||||
* | Reverts docstring quoting syntax. | Yesudeep Mangalapilly | 2011-08-24 | 1 | -13/+13 |
| | |||||
* | Adds the doctests for bit_size back into the function docstrings. | Yesudeep Mangalapilly | 2011-08-24 | 1 | -0/+23 |
| | |||||
* | Fixes a silly error. | Yesudeep Mangalapilly | 2011-08-17 | 1 | -6/+6 |
| | |||||
* | Moves incompatible doctests to unit test modules. | Yesudeep Mangalapilly | 2011-08-16 | 1 | -15/+2 |
| | |||||
* | Parellelized testing. Caught a lot of bugs. | Yesudeep Mangalapilly | 2011-08-16 | 1 | -32/+11 |
| | |||||
* | Adds a much faster bit_size implementation causing an overall speed up. | Yesudeep Mangalapilly | 2011-08-12 | 1 | -1/+43 |
| | | | | | * Note that the machine aligned integer_to_bytes is still faster than the older version. | ||||
* | Re-implements byte_size using divmod avoiding floating-point calculations. | Yesudeep Mangalapilly | 2011-08-11 | 1 | -2/+7 |
| | |||||
* | Added basic Chinese Remainder theorem implementation, not yet used. | Sybren A. Stüvel | 2011-08-10 | 1 | -0/+74 |
| | |||||
* | Merged keygen-accurate branch to default branch | Sybren A. Stüvel | 2011-07-24 | 1 | -0/+17 |
|\ | |||||
| * | Added Apache 2 license notice to source files | Sybren A. Stüvel | 2011-07-23 | 1 | -0/+17 |
| | | |||||
* | | Better calculation of bit size | Sybren A. Stüvel | 2011-07-24 | 1 | -2/+29 |
|/ | |||||
* | Lot of refactorings: | Sybren A. Stüvel | 2011-07-10 | 1 | -0/+13 |
| | | | | | | | | - Added PKCS#1 module - Moved some functionality to common.py - simplified random number generation - improved and extended doctests - added changelog | ||||
* | Fixed/added doctests | Sybren A. Stüvel | 2011-06-20 | 1 | -2/+11 |
| | |||||
* | More separation of the code | Sybren A. Stüvel | 2011-06-20 | 1 | -0/+9 |