-#
-# Description: This bash script generates alphanumeric passphrases
-# with a char-count determined by a user-provided number of bits of
-# entropy. The passphrase is then outputted to stdout with a trailing
-# newline. It works as follows:
-#
-# - Prompt user for an integer. This integer is the number of bits
-# of entropy that the generated password should have.
-#
-# - Check if user-provided string is an integer using `bash` regular
-# expression test.
-#
-# - Calculate the minimum number of alphanumeric characters required
-# to encode the specified number of bits of entropy.
-#
-# - This step uses `bc` to calculate a logarithm float string
-# and `awk` to convert the float into an integer, rounding up.
-#
-# - Use `tr`, `/dev/urandom`, and `head` to generate a random
-# alphanumeric string with the length calculated in the previous
-# step.
-#
-# - Use `echo` to display the passphrase in stdout with a trailing
-# newline.
-#
-# Dependencies: bash, echo, bc, awk, tr, head. See end of file
-#
-# Tested on:
-#
-# - GNU/Linux Debian 10
-