In Solidity, hashing functions like keccak256 are implemented as built-in functions. However, they still incur gas costs due to the execution of the hashing algorithm in the EVM (Ethereum Virtual Machine).
By using assembly, you can directly call the EVM's native hashing opcode (e.g., SHA3) without the overhead of the Solidity function call. This can result in gas savings, especially when you need to perform hashing operations repeatedly or in complex scenarios.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.