Blockchain is a new technology that has captured the attention of energy companies, supply companies, entrepreneurs, software companies, investment firms, government bodies, and academics. This chapter analyzes the performance of the hardware used to simulate the peer-to-peer energy trading between distributed generations with proof-of-work (PoW) consensus mechanism especially in the case of SHA-256, 384, and 512. The PoW mechanism creates a blockchain environment to trade between parties without authorization, and it establishes a systematic methodology for the trading of energy with an advanced contract system. Performance is measured by the CPU and GPU of the device during the complete period of simulation. Linear trendline and percentage evaluation demonstrate different scenarios of three secure hash algorithms (SHAs). The result shows that SHA-512 has the highest performance efficiency in terms of hardware usage and transaction duration in peer-to-peer energy trading systems. It means that SHA-512 takes more memory size in creating a block than other SHAs; however, it has sustainable development in the processing of the blockchain demonstration.