A Novel Algorithm to Prevent Double-Spending Attacks by Making the Transaction More Secure
A zero-confirmation transaction is a transaction that has not yet been confirmed on the blockchain and, as such, is not yet part of the blockchain. The network propagates zero-confirmation transactions quickly, but they are not secured against double-spending attacks. In This paper, we suggest a method to secure zero-confirmation transaction by using the security hashing algorithm 512 in the Elliptic curve cryptography (ECDSA). This is to generate a cryptographic identity to secure the transactions in zero-confirmation transaction instead of security hashing algorithm 256. The results showed that SHA-512 is greater than SHA-256 in throughput. Additionally, SHA-512 offers better throughput performance than SHA-256 while also having a larger hash size. Results also showed that SHA-512 is more secure than SHA-256