| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Also:
- changed http to https in the code
- changed header underlines in the documentation to match the header length
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* bit_size is at least 28x faster than the original implementation
and generally fares in and around 10 microseconds where as
the older one does around 1.8 milliseconds.
|
|
|
|
|
|
|
|
|
| |
* 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. =)
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
* 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
|