Skip to content
RED SAGSkills
hard20 pts · first answer countssoliditysmart-contract-security

Hash collision with encodePacked

An allowlist checks keccak256(abi.encodePacked(name, role)) against signed hashes, where name and role are both strings. What can go wrong?

Choose one answer