Skip to content

Instantly share code, notes, and snippets.

@hayeah

hayeah/block26. Secret

Created August 13, 2017 09:05
Show Gist options
  • Save hayeah/19300e3d2244a988885598d6649f893a to your computer and use it in GitHub Desktop.
Save hayeah/19300e3d2244a988885598d6649f893a to your computer and use it in GitHub Desktop.
// Constructor function
tag_2:
// ...
// calls setAB() by jumping to tag_5
jump
tag_4:
// ...
// calls setCD() by jumping to tag_7
jump
// function setAB()
tag_5:
// Bit shuffle and set a, b
// ...
sstore
tag_9:
jump // return to caller of setAB()
// function setCD()
tag_7:
// Bit shuffle and set c, d
// ...
sstore
tag_10:
jump // return to caller of setCD()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment