Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
jimauthors
· 13y ago · 0 comments
x = sha256(); x.update(str(0xcafebabe)); exec("[x.update(x.hexdigest()) for _ in range(int(0xcafebabe * 1.1598231680392955e-07))]"); x.hexdigest()[50:54]
Comments
[–]
mekarpeles
13y ago
Ha, thanks Jim! Probably need a: "from hashlib import sha256" in there too!