Privacy Breaches in Smart Contract due to Solidity Language and its Protection
Nazia Abrar, Muhammad Faraz Hyder, Muhammad Kamran, Muhammad Mubashir Khan · The 5th International Conference on Future Networks & Distributed Systems · 2021
Abstract - Smart contracts are essentially agreements between two parties, and the information included within them must be kept private and not shared with the outside community. Simultaneously, the most typical smart contract systems’ public nature limits the meaning of contracts. Smart contract confidentiality problems are a major impediment to their widespread adoption. A viable technique to protecting sensitive information is to hide it with cryptographic primitives or a hashing algorithm, however, hashing is irreversible, thus to address these issues, we first observed the privacy leakage of public smart contracts in this study. We next introduced our technique for privacy-preserving smart contracts, which includes encrypted user output values and defines holders of private values to prevent unintentional data leakage.