Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Support hashlib from Python 2.7.3 | Arthur de Jong | 2017-09-24 | 1 | -1/+4 |
| | | | | | Some Python versions don't have the algorithms_available property but do have the algorithms property in hashlib. | ||||
* | Refactor MAC lookups | Arthur de Jong | 2017-06-09 | 1 | -0/+126 |
This switches to using the hashlib.new() function to be able to use all hashes that are available in Python (specifically RIPEMD160). This also adds a number of tests for HMACs using test vectors from RFC 2202, RFC 4231 and RFC 2857. |