SHARE
TWEET

Untitled

a guest Feb 18th, 2020 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top