File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed
Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -22,20 +22,20 @@ Cracker can predict new numbers with following methods, which work exactly the s
2222
2323Here's an example usage:
2424``` python
25- import random, time
26- from randcrack import RandCrack
27- rc = RandCrack()
28- for i in range (624 ):
29- rc.submit(random.getrandbits(32 ))
30- # Could be filled with random.randint(0,4294967294) or random.randrange(0,4294967294)
31- print (" Random result: {} \n Cracker result: {} "
32- .format(random.randrange(0 , 4294967295 ), rc.predict_randrange(0 , 4294967295 )))
25+ import random, time
26+ from randcrack import RandCrack
27+ rc = RandCrack()
28+ for i in range (624 ):
29+ rc.submit(random.getrandbits(32 ))
30+ # Could be filled with random.randint(0,4294967294) or random.randrange(0,4294967294)
31+ print (" Random result: {} \n Cracker result: {} "
32+ .format(random.randrange(0 , 4294967295 ), rc.predict_randrange(0 , 4294967295 )))
3333```
3434** Output**
35-
36- Random result: 127160928
37- Cracker result: 127160928
38-
35+ ```
36+ Random result: 127160928
37+ Cracker result: 127160928
38+ ```
3939
4040## Warning
4141
You can’t perform that action at this time.
0 commit comments