summaryrefslogtreecommitdiffstats
path: root/solve/notes
blob: 946d53376d35d0bc417158510f5018a3c91cc72e (plain) (blame)
1
2
3
4
5
reverse perlin noise generation to get offsetX and offsetY
set offsetX and offsetY so we can recover flag without padding (1 << 8, 1 << FLAGLEN-8)

actually one request only reveals one byte since the grid repeats every 256..
so using scaleX = (i + 1) << 8 and scaleY = (i + 2) << 8