Hacker News new | ask | show | jobs
by kbaker 3658 days ago
pwgen already exists, working exactly like you were thinking.

    $ pwgen 16 1
    siaJa9fohnie9aew
Though, you should use lastpass or similar for many other reasons. Not just generating passwords, but for managing them.