Advertisement
Guest User

Untitled

a guest
Feb 18th, 2020
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.48 KB | None | 0 0
  1. #!/usr/bin/python
  2.  
  3. import matplotlib.pyplot as plt
  4. import time
  5.  
  6. passwd = "60000000000000000000000000000006"
  7.  
  8. def check(s):
  9.     ct = time.time_ns()
  10.     i = 0
  11.     while i < 1000000:
  12.         s == passwd
  13.         i += 1
  14.     return time.time_ns() - ct
  15.  
  16. pools = [0] * 10
  17.  
  18. WTF = 3
  19. for j in range(WTF):
  20.     for i in range(10):
  21.         attempt = str(i) + "0000000000000000000000000000000"
  22.         print(attempt)
  23.         pools[i] = check(attempt)
  24.  
  25. plt.plot(pools)
  26. plt.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement