Last active
July 20, 2018 05:36
-
-
Save tienhieuD/f6a51257159edc7a892239012273f82c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789' | |
def random_string(n): | |
return ''.join(random.SystemRandom().choice(chars) for _ in range(n)) | |
i = 0 | |
while(i < 10000000): | |
print(random_string(64)) | |
i += 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment