Skip to content

Instantly share code, notes, and snippets.

@andrewdotcudzilo
Created May 3, 2019 15:10
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 andrewdotcudzilo/76b613583d6351185725b8ce9fcb8038 to your computer and use it in GitHub Desktop.
Save andrewdotcudzilo/76b613583d6351185725b8ce9fcb8038 to your computer and use it in GitHub Desktop.
crea
python -c "import random,string,crypt,getpass,pwd; randomsalt = ''.join(random.sample(string.ascii_letters,8)); print crypt.crypt('MySecretPassword', '\$6\$%s\$' % randomsalt)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment