Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
307 B
4
Indexable
 import hashlib
 with open("rockyou.txt", "r") as f:
   for line in f.readlines():
     line = line.rstrip("\n")
     m = hashlib.sha256()
 
     m.update(line.encode("utf-8"))
     if m.hexdigest() == "0cb7cbe18b18ee7872ebb9fe873436c71fdc820520418248166c2f584077ed72":
       print("OK", line)
       break