1

I'm attempting to write a monero miner in PHP (I know PHP). I'm not after hashing speed I'm after understanding what is happening.

I have looked over the "CRYPTONOTE STANDARD 008" document that seems to explain what to do once I have the block data, what I'm not sure about is the input I am supposed to run the Keccak hash on.

First, the input is hashed using Keccak [KECCAK] with parameters b = 1600 and c = 512.

Any code samples in PHP would be greatly appreciated.

user36303
  • 34,928
  • 2
  • 58
  • 123
tek-dragon
  • 11
  • 1

1 Answers1

-1

Keccak is nearly SHA-3.

Taken from CryptoNoter

SHA-3 is based on (a particular instanciation of) Keccak, but with a couple minor differences from the original Keccak. Cryptonote was made before SHA-3 standardization. - user36303