Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (12 sloc) 254 Bytes
#!/usr/bin/python
from random import randint
import md5
lower = 2**(4*31)
upper = 2**(4*32) - 1
a = hex(randint(lower, upper))[2:-1]
for i in xrange(300000):
b = md5.new(a).hexdigest()
if a == b:
print a
break
a = b