Advertisement
Guest User

Untitled

a guest
Feb 17th, 2019
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. import random
  2. import hashlib
  3.  
  4.  
  5. def infiniti():
  6. for i in range(5000000000000):
  7. main()
  8. if i % 100000000 == 0:
  9. print(i)
  10.  
  11.  
  12. def main():
  13. a = "cdac1f5a6b2d5fcd32bf9287702446dc0637644860809f1fa294e00eed00a254"
  14. b = "6900e0f6231f23860336dbf7f7515ffe9a0fbb6c040b1238d46838f9a792b520"
  15. c = "".join([random.choice("1234567890abcdef") for x in range(32)])
  16. new = a + b + c
  17.  
  18. shaencoded = hashlib.sha256(new.encode()).hexdigest()
  19.  
  20.  
  21.  
  22. if shaencoded[:8] == "00000000":
  23. print(f"8 zero nonss: {c} shaencoded: {shaencoded}")
  24. if shaencoded[:9] == "000000000":
  25. print(f"9 zero nonss: {c} shaencoded: {shaencoded}")
  26. if shaencoded[:10] == "0000000000":
  27. print(f"10 zero nonss: {c} shaencoded: {shaencoded}")
  28.  
  29.  
  30. infiniti()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement