Hi Jan, how are you?, I'll try to understand your code, so I need to ask you some questions:
- 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?
- What is the purpose of these variables in your code:
data, midstate, hash1, hash, target?
- 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.
- What is the purpose of the function
toRGBA?
- Do you an email to reach you instead of posting message on github.
Cheers.
Hi Jan, how are you?, I'll try to understand your code, so I need to ask you some questions:
abcand the hash-256 of the message is
ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad?data, midstate, hash1, hash, target?midstateanddata, the other is forhash, because in the sequential code, I saw it only once, and this is the reference of the sequential code.toRGBA?Cheers.