Hashes as Proof of Work in Cryptocurrency Mining