12

People have successfully performed SHA-256 hashing with pencil and paper enter image description here

  1. If I wanted to perform the CryptoNight PoW by hand how would I do so?
  2. Are there any PoW instructions that a human with a pencil, paper and enough patience could follow? What about with the assistance of a basic hand held calculator?
Susan
  • 1,428
  • 1
  • 16
  • 19

2 Answers2

7

I think the overall answer is "it's ridiculously impractical to perform by hand". The Cryptonight hash operates over a 2 megabyte data space, using multiple rounds of AES along with a variety of other cryptographic hash algorithms. What human is going to have the patience to write out 2 million bytes of data even once, let alone multiple times?

I would downvote this question as being utterly ludicrous. Some of it is blindingly obvious:

E.g. "How much harder is hashing CryptoNight by hand compared to hashing SHA-256 by hand?" - The ratio of difficulty for CryptoNight vs SHA-256 is the same, whether calculating by hand or by computer. The difference in amount of computations is the same either way. This is a stupid question.

A valid question would be "where can I find a description of the CryptoNight hash algorithm".

hyc
  • 4,253
  • 19
  • 21
6

I like the question because an answer to it will give a better understanding, from first principles, of the underlying algorithms. So question 1 has two parts:

1a) How does the CryptoNight PoW algorithm work at all?

That's specified here: https://cryptonote.org/cns/cns008.txt

1b) How does it really work, on a low level, looking at elementary instructions?

I'm not familiar enough with the basics of how AES, Keccak and the different hash functions used (blake, groestl, skein) work on a detailed level, but that seems to be the only things that you have to look up.

As for question 2), of course you as a human can perform all the elementary instructions that your computer does when running cryptonight PoW, provided your remaining life span is long enough. You could e.g. attach a debugger while mining monero, look at the elementary machine instructions that are performed, and repeat them by hand. Obviously a hand held calculator will help to do additions, multiplications etc. faster.

villabacho
  • 1,215
  • 6
  • 15