2

Attempting to follow the pseudo-code here -- What exactly has been changed in PoW algorithms in the v7 fork?, I was curious about this part of the Monero hashing algorithm ...

scratchpad = fill_scratchpad(state)

What is the scratchpad for? When you "fill" the scratchpad, are you simply taking the value (state) from teh step above and prepending zeroes to it until you have 2 MB worth of data?

1 Answer 1

2

The scratchpad is filled with pseudo-random data based on the state (using rounds of the AES block cipher).

Check https://cryptonote.org/cns/cns008.txt for a detailed description of the algorithm (without the modifications introduced in version 7 of the protocol).

2
  • Omg this is incredibly complex for my primitive mind. Are there any examples that work through the hash process with specific numbers?
    – Dave
    Commented Apr 17, 2018 at 19:11
  • Not that know of.
    – glv
    Commented Apr 18, 2018 at 7:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.