Generate a Password


Here are some ways to generate a secure password.

pwgen

sudo apt install pwgen
pwgen -ycns 64 1
  • -y - include a symbol
  • -c - include a capital letter
  • -n - include a number
  • -s - "secure", be hard to memorize

For example:

ZP$WV~{O$7vfu#o&yx0:^&g#4F+8>)l]m5;yR9#6M&|HT-y*_:PS/a1yr:;DK9TR

Python

Generates

python3
>>> import uuid
>>> str(uuid.uuid4())
'7340b556-d1ac-4cf5-ab20-ccd32abb4b5a'