Skip to content

Incorrect results from hashlib functions #13

Description

@simon-weber

All of the hashlib functions that I tried gave incorrect output.

For example, compare this stdlib example code:

>>> hashlib.sha224("Nobody inspects the spammish repetition").hexdigest()
'a4337bc45a8fc544c03f52dc550cd6e1e87021bc896588bd79e901e2'

against the result on repl.it:

>>> hashlib.sha224("Nobody inspects the spammish repetition").hexdigest()
'03143f9f164335fafd05051e0163df081007ba1208d6f9eb4fd3f6fe'

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions