Skip to content

I need your help to understand this piece of Art. #18

@Nawter

Description

@Nawter

Hi Jan, how are you?, I'll try to understand your code, so I need to ask you some questions:

  1. Where I can put the message in your code to hash the message in sha256 e.g the message is abc
    and the hash-256 of the message is ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad?
  2. What is the purpose of these variables in your code: data, midstate, hash1, hash, target?
  3. Why in your code you did twice reset and update, one for midstate and data, the other is for hash, because in the sequential code, I saw it only once, and this is the reference of the sequential code.
  4. What is the purpose of the function toRGBA?
  5. Do you an email to reach you instead of posting message on github.
    Cheers.

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