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.