Hacker News new | ask | show | jobs
by StavrosK 3604 days ago
Why limit your entropy like that? I just use pwgen:

> pwgen -s 64 1 | xsel -b

aepei5hooNu2Zaic6EQueeCiish7eighaibahwaejohchaizo0zei0eiwongaeza

2 comments

I was stickin' to Python :)

That's a cool alternative though, thanks.

Ah, that's valid, but at least base64 encode the password (for more entropy per character). It doesn't really matter anyway, if you're using a long secret (and nothing stops you, since it's not like you need to remember it).
Why limit your entropy? Use "pwgen -s".
Good tip, thanks. What's the difference between with and without -s?