Quote:
Originally Posted by Ni****h |
solved python
import hashlib
Code:
meid = raw_input("").upper()
s = hashlib.sha1(meid.decode('hex'))
#decode the hex MEID (convert it to binary!)
pesn = "80" + s.hexdigest()[-6:].upper()
#put the last 6 digits of the hash after 80
print " " + pesn