Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/pskc/crypto/tripledeskw.py
Commit message (Collapse)AuthorAgeFilesLines
* Replace pycrypto with cryptographyArthur de Jong2017-10-091-13/+22
| | | | | | | | | The cryptography library is better supported. This uses the functions from cryptography for AES and Triple DES encryption, replaces the (un)padding functions that were previously implemented in python-pskc with cryptography and uses PBKDF2 implementation from hashlib.
* Replace use of pycrypto utility functionsArthur de Jong2017-10-011-3/+3
| | | | | | This uses os.urandom() as a source for random data and replaces other utility functions. This also removes one import for getting the lengths of Tripple DES keys.
* Run flake8 from toxArthur de Jong2017-09-201-4/+6
| | | | | This also makes a few small code formatting changes to ensure that the flake8 tests pass.
* Support Python 3Arthur de Jong2015-10-061-4/+6
| | | | | | | | This enables support for Python 3 together with Python 2 support with a single codebase. On Python 3 key data is passed around as bytestrings which makes the doctests a little harder to maintain across Python versions.
* Move encryption functions in pskc.crypto packageArthur de Jong2014-10-091-0/+67
This moves the encryption functions under the pskc.crypto package to more clearly separate it from the other code. Ideally this should be replaced by third-party library code.