#!/bin/sh
# gen: generate passwordssss (:<)~~~~~
# the range is from ascii space (32) to tilde (126) -> 126-32+1=95
# possibilities which yeilds 256+ bits of entropy at a password length of 40
# (can be calculated with `entropy 95 40')
set -e
length=40
[ "$#" -gt 1 ] && {
  echo "usage: ${0##*/} [length]" 1>&2
  exit 1
}
[ "$#" -eq 1 ] && length=$1
jot -rcs '' "${length}" 32 126
