Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
pw_charset='abcdefghijkmnpqrstuvwxyz23456789#%+=?'
def intpw(x):
   val=0
   for n in range(0,12):
           val+=pw_charset.find(x[n])*(37**(11-n))
   if (val%8)==7:
           val+=37**12
   return val
print '%x' % intpw('nyrip9=c5bgv')