summaryrefslogtreecommitdiff
path: root/rsa/randnum.py
Commit message (Collapse)AuthorAgeFilesLines
* Reformatting with BlackSybren A. Stüvel2021-03-291-3/+2
| | | | No functional changes.
* Drop character encoding markers for Python 2.xAndrey Semakin2020-06-031-2/+0
|
* Added type annotations + some fixes to get them correctSybren A. Stüvel2019-08-041-4/+4
| | | | | | 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.4Sybren A. Stüvel2019-08-041-2/+2
|
* speedupyjqiang2018-09-161-1/+1
| | | "if A and B" if mostly A is True then we should judge B at first
* Use specific function for odd integer generationadamantike2016-03-171-0/+13
|
* Updated documentation, mostly http -> https changesSybren A. Stüvel2016-02-051-1/+1
| | | | | | 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üvel2016-01-221-10/+10
| | | | | Mostly focused on docstrings (''' → """), indentation, empty lines, and superfluous parenthesis.
* Reverts docstring quoting syntax.Yesudeep Mangalapilly2011-08-241-7/+7
|
* Parellelized testing. Caught a lot of bugs.Yesudeep Mangalapilly2011-08-161-3/+3
|
* Porting to Python 3 complete. All tests except pyasn1 stuff pass.Yesudeep Mangalapilly2011-08-111-1/+2
|
* Merged keygen-accurate branch to default branchSybren A. Stüvel2011-07-241-0/+16
|\
| * Added Apache 2 license notice to source filesSybren A. Stüvel2011-07-231-0/+16
| |
* | More tweaks to random number generationSybren A. Stüvel2011-07-241-11/+50
|/
* Improved random number generationSybren A. Stüvel2011-07-231-4/+5
|
* Improved random number generationSybren A. Stüvel2011-07-231-5/+7
|
* Use new-style integer divisionSybren A. Stüvel2011-07-141-1/+1
|
* Lot of refactorings:Sybren A. Stüvel2011-07-101-24/+12
| | | | | | | | - Added PKCS#1 module - Moved some functionality to common.py - simplified random number generation - improved and extended doctests - added changelog
* Split module into several filesSybren A. Stüvel2011-06-191-0/+38