Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code snippets for hash functions now works in both Python 2 and Python 3 #359

Merged
merged 2 commits into from
Mar 17, 2019
Merged

Conversation

onprem
Copy link
Contributor

@onprem onprem commented Mar 17, 2019

In chapter 10, there are multiple code snippets which only works in Python 2. The snippets can be easily modified to run on both Python 2 and Python 3.

This particular change is also mentioned in issue #353 .

Tested on Python 2.7.16 and Python 3.7.2

@onprem onprem changed the title Code snippet for md5 now works in both Python 2 and Python 3 Code snippets for hash functions now works in both Python 2 and Python 3 Mar 17, 2019
@lvh
Copy link
Member

lvh commented Mar 17, 2019

Looks good, thanks!

@lvh lvh merged commit 862f07a into crypto101:master Mar 17, 2019
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