mediumStudy question · answer published in Blockchain interview questions, so no pointssmart-contract-securitycryptography
Hiding a 4-digit code with a hash
A contract stores keccak256 of a 4-digit unlock code and lets anyone who submits the matching code claim a prize. Is the code safe?
Discussion 0
Join free to post in the discussion.
Related questions
- Keys and addressesBlockchain Developer
- What links one block to the nextBlockchain Developer
- Private variables are public dataBlockchain Developer
- Verifying a contract on EtherscanBlockchain Developer
- Sharing a seed phraseBlockchain Developer
- Why use OpenZeppelinBlockchain Developer
- Properties of keccak256Blockchain Developer
- The Merkle root in a blockBlockchain Developer