Closed BANANAPEEL202 closed 2 years ago
I believe the correct pseudocode for hash() is:
function hash(i): static r = { 2, 7, 12, 0, 7, 10 } static t = 6 static z = params.offset i = i + z x = i mod t y = i div t return x + r[y]
You're correct; the psuedocode in the README is missing the offset parameter.
README
offset
I believe the correct pseudocode for hash() is: