Skip to content

Conversation

@koujiandou-mhfg
Copy link

I modified many files so that test/test.py and test/test_doctests.py pass on Python 2.7 and Python 3.5.

New methods receive basically bytes and return bytes, the same way as PyCrypt. There are two exceptions:

  • hexdigest method returns normal str, bytes for python2 and unicode str for python3
  • methods in PBKDF2 can also receive unicode str for backward compatibility

test/test.py and test/test_doctests.py are passed on Python 2.7 and
Python 3.5.
@doegox doegox merged commit 5f6a195 into doegox:python3 Oct 28, 2016
@doegox
Copy link
Owner

doegox commented Oct 28, 2016

thank you very much for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants