Simple way to generate strong passwords reddit / BSD ---------------------------------------------------------------------- PitifulView · 2019-05-06 13:39 I usually use uuidgen ---------------------------------------------------------------------- techsnapp · 2019-05-06 22:54 That's cool! I didn't know I had it installed on my system, and it does look like a pretty good password generator. ---------------------------------------------------------------------- localhostdotdev · 2019-05-17 13:41 i use: ``` #!/usr/bin/env ruby puts rand(10 ** (ARGV.first ? ARGV.first.to_i : 30)).to_s(16) ``` e.g. b3ed02b7aacf13bd637f51047 ---------------------------------------------------------------------- [deleted] · 2019-06-12 19:26 It's good that the author was able to use built-in tools to cobble together a password generator, but if you're going to use generated passwords you need to store them somewhere (because you won't remember them). I prefer [```pass```](https://www.passwordstore.org/) for that purpose, and it comes with its own generator function.