Y
Hacker News
new
|
ask
|
show
|
jobs
by
jimauthors
4650 days ago
x = sha256(); x.update(str(0xcafebabe)); exec("[x.update(x.hexdigest()) for _ in range(int(0xcafebabe * 1.1598231680392955e-07))]"); x.hexdigest()[50:54]
1 comments
mekarpeles
4650 days ago
Ha, thanks Jim! Probably need a: "from hashlib import sha256" in there too!
link