Skip to content

Instantly share code, notes, and snippets.

@packetchef
Created August 4, 2015 23:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save packetchef/8b80d5f126ab80fb5b78 to your computer and use it in GitHub Desktop.
Save packetchef/8b80d5f126ab80fb5b78 to your computer and use it in GitHub Desktop.
Generate a block of text based on a salt and static string - do not consider to be random
# Future print lets us easily remove trailing newlines
from __future__ import print_function
import hashlib
i=0
salt = "N"
while i < 5000:
print(hashlib.md5('thisismystring' + (salt * i)).hexdigest(), end='')
i += 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment