top | item 6448232

(no title)

jimauthors | 12 years ago

x = sha256(); x.update(str(0xcafebabe)); exec("[x.update(x.hexdigest()) for _ in range(int(0xcafebabe * 1.1598231680392955e-07))]"); x.hexdigest()[50:54]

discuss

order

mekarpeles|12 years ago

Ha, thanks Jim! Probably need a: "from hashlib import sha256" in there too!