Skip to content

Incorrect instructions in step 0 with hex input #12

Description

@acut3

There are two issues with the instructions displayed for step 0 when an hex input is used:

  1. Sub-step 1, where a single bit is added after the input data, is missing
  2. The message length used in the instructions is computed incorrectly. For example, for hex input "ff", message length is said to be 2 when it should be 8. Consequently, the numbers of zeroes to add is also stated incorrectly (445 when it should be 439)

Note that it's only the instructions (in the leftmost column, under the message block) that are incorrect. Everything else is fine and the hash is computed correctly.

Oh and thank you so much for this tool, it's brilliant!

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions