On Tue 22 Aug 2017 at 10:04:59 -0500, Mario Castelán Castro wrote: > I have the following line in my Bash init file: > > “alias gen-password="head -c 16 /dev/urandom | base64 | head -c 22 && echo"” > > This generates a password with just above 128 bits of entropy. You may > find it useful.
How does this echo 'secretpassword' | sha256sum - | base64 | cut -c -30 | head -1 compare with your recommendation? -- Brian.