-#
-# 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 bech32 base32 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.
-#
-# Usage: bknpass [int]
-#
-# Example: bknpass 256
-#
-# Dependencies: bash, echo, bc, awk, tr, head. See end of file
-#
-# Tested on:
-#
-#   - GNU/Linux Debian 10
-
-
-#==Initialization==
-
-let ALPHABET_SIZE="32" # number of unique chars in bech32 base32 charset
-LOG_BASE=2 # Set logarithm base to 2