**abi.encodePacked()
**removes padding between elements, which can lead to ambiguity in the encoded data. When combining two identical arrays, the order becomes significant, potentially causing unexpected results.
Due to the lack of padding, there's a possibility of hash collisions. Different inputs could potentially produce the same hash output
Hash Collision Vulnerability: This approach can create vulnerabilities that malicious actors might exploit, especially if the contract interacts with off-chain systems expecting unique hashes
**abi.encodePacked()
**doesn't add padding between elements, which can cause ambiguity in the encoded data
none
To avoid potential duplicate hashes, consider using abi.encode()
instead of abi.encodePacked()
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.