Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
for test in xrange(1<<24):
correct = True
x = test
for i in xrange(5):
x = (x * 0x000343fd + 0x269ec3) & 0xFFFFFF
if (x>>16)!=key[i]:
correct = False
if correct:
print("Found it: ",hex(test))
print("Verify: ")
for i in xrange(5):
test = (test * 0x000343fd + 0x269ec3) & 0xFFFFFF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment