Skip to content

Finds method id collissions by permutating the alphabet in opposing directions and halting when the bytes4 of the keccak256 hash of the names are equal

Notifications You must be signed in to change notification settings

0xrin1/solidity-method-id-collisions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Solidity Method Id Collisions

Finds method id collissions by permutating the alphabet in opposing directions and halting when the bytes4 of the keccak256 hash of the names are equal.

Not exactly useful since contracts with colliding method ids dont compile, but a fun experiment nevertheless.

Took about a day to find collision: d() and mbrysd()

About

Finds method id collissions by permutating the alphabet in opposing directions and halting when the bytes4 of the keccak256 hash of the names are equal

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages