makepasswd
Generate and encrypt passwords. More information: https://manpages.debian.org/stretch/makepasswd/makepasswd.1.en.html.
makepasswd --chars {{10}}
makepasswd --minchars {{5}} --maxchars {{10}}
makepasswd --string {{bar}}