Tips to make strong passwords

sha512 shadow passwords

mkpasswd

$ apt install whois -y
$ mkpasswd --method=sha-512

using openssl

passing password

$ openssl passwd -6 '<password>'

passing both password and salt

$ openssl passwd -6 --salt '<salt>' '<password>'

passing via stdin

$ openssl passwd -6 -stdin

using python

$ python -c 'import crypt; print(crypt.crypt("<password>", crypt.mksalt(crypt.METHOD_SHA512)))'

using ruby

$ ruby -e 'require "securerandom"; puts SecureRandom.alphanumeric(20).crypt("$6$" + rand(36 ** 8).to_s(36))'

normal random passwords

using openssl with hex

$ openssl rand -hex 15

using openssl with base64

$ openssl rand -base64 15

using urandom

$ cat /dev/urandom | LC_ALL=C tr -dc 'a-zA-Z0-9-_\$' | fold -w 25 | sed 1q

bcrypt

using httpd

$ htpasswd -bnBC 10 "" password | tr -d ':\n' | sed 's/$2y/$2a/'

Did you like our content?

We have a lot to share; visit our site!

Our fediverse services ;)

Chat and video? We have it!

Translation tools

Video Platform Frontends

Text Editors

You can also visit our hacking space!

Follow our founder!

Follow the status of our tools

Do you want to support us? You can!

See you!

[s]