Re:Tweetable Python – Tweetable Python 3.7 Documentation
by shabda on Tuesday August 07, 2018 @10:48PM
(#17712846)
I think the Python approach is better :).
> head -c 8 /dev/random | base64
Gives me
PRM9hlMDpG0=
Which is 12 chars, not a big deal, but with Python I specified exactly how long the password should be.
With Python, I just used the first example as the anchor and then built more examples. (For example enforce it to be pronounceable by using every second char as vowel, or build a `horse battery staple generator` style password.)
> head -c 8 /dev/random | base64 Gives me PRM9hlMDpG0=
Which is 12 chars, not a big deal, but with Python I specified exactly how long the password should be.
With Python, I just used the first example as the anchor and then built more examples. (For example enforce it to be pronounceable by using every second char as vowel, or build a `horse battery staple generator` style password.)