Skip to content

Instantly share code, notes, and snippets.

@tienhieuD
Last active July 20, 2018 05:36
Show Gist options
  • Save tienhieuD/f6a51257159edc7a892239012273f82c to your computer and use it in GitHub Desktop.
Save tienhieuD/f6a51257159edc7a892239012273f82c to your computer and use it in GitHub Desktop.
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