On 22/08/17 15:14, Mario Castelán Castro wrote: > Generate a 3-bit long password, for example: > > mario@svetlana [0] [/home/mario] > $ head -c 3 /dev/urandom | base64 > w5eJ Apologies. This is of course, a 3 BYTE long password (24 bits), not 3 BIT long!! I also want to point that by default, if the input to base64 is not an input of 3 bytes then the last digit does not have full entropy. The one-liner that I gave in my *original* message is processed to have full entropy in *all* digits (hence the double use of “head” command), for a total of 132 bits. The line quoted here does not need this processing because the input gives exactly enough entropy to generate 4 characters with full entropy. -- Do not eat animals, respect them as you respect people. https://duckduckgo.com/?q=how+to+(become+OR+eat)+vegan
Attachment:
signature.asc
Description: OpenPGP digital signature