Difficulty -
Medium
Total Plays - 4
Allowed Time - 10 sec
Best time - 10 sec
Why can abi.encodePacked cause issues?
#A
#B
#C
#D
Explanation:
encodePacked removes padding, which can produce identical byte sequences for different inputs. When combined with hashing, this may cause collisions. Using abi.encode is safer for multi-field data.