| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
| |
Thanks for the improvements!
|
|
|
|
|
|
| |
Overriding __eq__ blocks inheritance of __hash__ in Python 3.
Fixes issue #55
|
|
|
|
| |
This reduces noise in the code coverage measurements.
|
|
|
|
|
| |
This unittest tests both execution branches of the function (keys
relatively prime or not), reducing randomness of code coverage.
|
|
|
|
|
|
|
|
| |
Adds the possibility to create a new key using a custom exponent. Mostly
for compatibility. Also removed the unused parameter nbits from
calculate_keys(). I added a new function calculate_keys_custom_exponent()
so that people still passing a value to nbits don't accidentally use
it as the exponent.
|
|
This prevents side-channel (such as timing) attacks, see:
https://en.wikipedia.org/wiki/Blinding_%28cryptography%29
|