Skip to content

Instantly share code, notes, and snippets.

@wilmoore
Last active June 26, 2024 06:12
Show Gist options
  • Select an option

  • Save wilmoore/f57e863d2e0586d3aa09011d2f95a128 to your computer and use it in GitHub Desktop.

Select an option

Save wilmoore/f57e863d2e0586d3aa09011d2f95a128 to your computer and use it in GitHub Desktop.
Software Engineering :: Security :: Password :: Generator :: Software

Software Engineering :: Security :: Password :: Generator :: Software

⪼ Made with 💜 by Polyglot.

reference
related

Password Generation Software

examples

Generate a UUID, remove dashes, and return the first 16 characters

uuidgen | tr -d '-' | head -c 16

Generate a 16-character password using mkpasswd

brew install expect

mkpasswd -l 16

This shuffles the given character set and returns a 16-character password.

shuf -zer -n16 {A..Z} {a..z} {0..9} | tr -d '\0'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment