Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Reformatting with Black | Sybren A. Stüvel | 2021-03-29 | 1 | -4/+4 |
| | | | | No functional changes. | ||||
* | Drop character encoding markers for Python 2.x | Andrey Semakin | 2020-06-03 | 1 | -2/+0 |
| | |||||
* | Added flake8 as development dependency and fixed reported issues | Sybren A. Stüvel | 2019-08-04 | 1 | -1/+1 |
| | |||||
* | Removed compatibility code for Python 2.7 and 3.4 | Sybren A. Stüvel | 2019-08-04 | 1 | -153/+12 |
| | |||||
* | Moved `get_word_alignment()` from `_compat.py` to `machine_size.py` | Sybren A. Stüvel | 2018-09-16 | 1 | -3/+3 |
| | | | | | | In preparation of removal of Python 2.7 support, I only want to have compatibility code for Python 2.7 in `_compat.py`, and not other kinds of 'compatibility'. | ||||
* | Drop byte_literal in favour of b'' | adamantike | 2016-05-08 | 1 | -11/+11 |
| | |||||
* | xrange compatibility optimization for Python 2 (#69) | Michael Manganiello | 2016-05-08 | 1 | -0/+1 |
| | |||||
* | Drop psyco usage | Sybren A. Stüvel | 2016-04-23 | 1 | -10/+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 | ||||
* | Updated doctests to Python 3.5 and automatically running with Tox. | Sybren A. Stüvel | 2016-01-22 | 1 | -3/+3 |
| | | | | | I've also removed doctests from the obsolete rsa/_versionXXX.py files, as those files aren't even compatible with Python 3.x anyway. | ||||
* | Using r""" for some docstrings | Sybren A. Stüvel | 2016-01-22 | 1 | -2/+2 |
| | |||||
* | Big refactor to become more PEP8 compliant. | Sybren A. Stüvel | 2016-01-22 | 1 | -15/+19 |
| | | | | | Mostly focused on docstrings (''' → """), indentation, empty lines, and superfluous parenthesis. | ||||
* | Fixed doctests | Sybren A. Stüvel | 2012-06-18 | 1 | -1/+1 |
| | |||||
* | Reverts docstring quoting syntax. | Yesudeep Mangalapilly | 2011-08-24 | 1 | -10/+10 |
| | |||||
* | Adds back older doctests for _int2bytes for compliance. | Yesudeep Mangalapilly | 2011-08-24 | 1 | -0/+17 |
| | |||||
* | Allow block_size=None in _int2bytes. | Yesudeep Mangalapilly | 2011-08-24 | 1 | -4/+5 |
| | |||||
* | Allow fill_size=None, chunk_size=None in int2bytes. | Yesudeep Mangalapilly | 2011-08-24 | 1 | -4/+4 |
| | |||||
* | Fixes bad zero-prefix padding bug in older _int2bytes to pass all tests. | Yesudeep Mangalapilly | 2011-08-16 | 1 | -8/+10 |
| | |||||
* | Parellelized testing. Caught a lot of bugs. | Yesudeep Mangalapilly | 2011-08-16 | 1 | -18/+2 |
| | |||||
* | Much cleaner implementation of int2bytes. No loss in speed. | Yesudeep Mangalapilly | 2011-08-14 | 1 | -56/+69 |
| | |||||
* | Fixes doctest. | Yesudeep Mangalapilly | 2011-08-13 | 1 | -1/+1 |
| | |||||
* | Measure twice, cut once. | Yesudeep Mangalapilly | 2011-08-13 | 1 | -3/+8 |
| | |||||
* | Finally tracked down the bug to incorrect padding. Now all tests should pass | Yesudeep Mangalapilly | 2011-08-13 | 1 | -14/+3 |
| | | | | for the new int2bytes. | ||||
* | Completes machine-aligned int2bytes implementation. | Yesudeep Mangalapilly | 2011-08-12 | 1 | -0/+9 |
| | | | | | | | | | * This implementation is generally in microseconds instead of milliseconds, which makes it 20x-40x faster than the older implementation. Tests for all of the behavior of the function have been added to tests/test_transform.py. Hope this helps make python-rsa even better. =) | ||||
* | Adds verification tests for int2bytes and bytes2int | Yesudeep Mangalapilly | 2011-08-12 | 1 | -48/+69 |
| | | | | | | | | | * There is a bug in the older int2bytes implementation. I've raised an issue on bitbucket for that already. #11 The pkcs1 file verification test fails if the behavior for int2bytes is corrected. | ||||
* | Adds speed tests for int2bytes and old_int2bytes. | Yesudeep Mangalapilly | 2011-08-11 | 1 | -6/+65 |
| | | | | | | | | | | | | | | | | | | | | | | * In the following tests, the first speed test for each version of Python checked is the new implementation and the second is the old implementation. $ ./speed.sh int2bytes speed test python2.5 1000 loops, best of 3: 315 usec per loop 100 loops, best of 3: 4.87 msec per loop python2.6 10000 loops, best of 3: 170 usec per loop 100 loops, best of 3: 3.34 msec per loop python2.7 10000 loops, best of 3: 169 usec per loop 100 loops, best of 3: 2.8 msec per loop python3.2 10000 loops, best of 3: 169 usec per loop 100 loops, best of 3: 3.16 msec per loop | ||||
* | Even better. Discard prefix zero bytes if block size is not specified. | Yesudeep Mangalapilly | 2011-08-11 | 1 | -22/+29 |
| | |||||
* | Reduces more calculation in int2bytes. | Yesudeep Mangalapilly | 2011-08-11 | 1 | -10/+17 |
| | |||||
* | Adds faster ``struct.pack``-based int2bytes implementation. | Yesudeep Mangalapilly | 2011-08-11 | 1 | -11/+12 |
| | |||||
* | Porting to Python 3 complete. All tests except pyasn1 stuff pass. | Yesudeep Mangalapilly | 2011-08-11 | 1 | -10/+12 |
| | |||||
* | Removed obsolete code | Sybren A. Stüvel | 2011-07-31 | 1 | -126/+1 |
| | |||||
* | Using int() rather than long() | Sybren A. Stüvel | 2011-07-30 | 1 | -4/+4 |
| | |||||
* | Added Apache 2 license notice to source files | Sybren A. Stüvel | 2011-07-23 | 1 | -0/+16 |
| | |||||
* | Bytes2int transformation more efficient using binascii.hexlify | Sybren A. Stüvel | 2011-07-23 | 1 | -17/+7 |
| | |||||
* | Fixed doctest | Sybren A. Stüvel | 2011-07-19 | 1 | -2/+0 |
| | |||||
* | Fixed file permissions | Sybren A. Stüvel | 2011-07-19 | 1 | -0/+0 |
| | |||||
* | Use new-style integer division | Sybren A. Stüvel | 2011-07-14 | 1 | -1/+1 |
| | |||||
* | Added PKCS#1 signatures and verification of signatures | Sybren A. Stüvel | 2011-07-10 | 1 | -0/+3 |
| | |||||
* | Lot of refactorings: | Sybren A. Stüvel | 2011-07-10 | 1 | -22/+4 |
| | | | | | | | | - Added PKCS#1 module - Moved some functionality to common.py - simplified random number generation - improved and extended doctests - added changelog | ||||
* | Reinstated some of the backed out changeset 812d745b6bef: | Sybren A. Stüvel | 2011-07-10 | 1 | -1/+40 |
| | | | | | - added support for block size - improved some exceptions | ||||
* | Backed out changeset 812d745b6bef | Sybren A. Stüvel | 2011-07-10 | 1 | -34/+98 |
| | |||||
* | Removed some fluff, rewritten some stuff, broken the lot | Sybren A. Stüvel | 2011-07-10 | 1 | -98/+34 |
| | |||||
* | Added support for padding blocks | Sybren A. Stüvel | 2011-07-09 | 1 | -10/+50 |
| | |||||
* | Added block padding to be able to work with leading zeroes, breaks all kind ↵ | Sybren A. Stüvel | 2011-06-20 | 1 | -1/+3 |
| | | | | of stuff | ||||
* | Fixed/added doctests | Sybren A. Stüvel | 2011-06-20 | 1 | -3/+9 |
| | |||||
* | Slightly better readable code | Sybren A. Stüvel | 2011-06-20 | 1 | -2/+2 |
| | |||||
* | Split module into several files | Sybren A. Stüvel | 2011-06-19 | 1 | -0/+152 |