Skip to content

Python3 support + more readability#5

Open
nicolas3355 wants to merge 6 commits intodelqn:masterfrom
nicolas3355:master
Open

Python3 support + more readability#5
nicolas3355 wants to merge 6 commits intodelqn:masterfrom
nicolas3355:master

Conversation

@nicolas3355
Copy link
Copy Markdown

  • Updated the code to python3.
  • Made the code more readable my reflecting the Merkle-Damgard construction of sha256.
  • Added more tests.

Copy link
Copy Markdown

@3atharvkurdukar 3atharvkurdukar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nicolas3355 Can you please explain why you converted the digest to hex for each block? The mutate function was anyhow taking digest as an input. So, what was the need of converting it to hex and back to digest?

@nicolas3355
Copy link
Copy Markdown
Author

sorry about that, should be all good now :)

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