function mkpw_md5() { # Hex password making function via MD5 hashing
# random + Year + Month + Day + Hour + Minute + Second + Nanoseconds
local s=$(head /dev/urandom)$(date +%Y%m%d%H%M%S%N)
echo $s | md5sum | cut -c1-${1:-8};
}
function mkpw_md5_alpha() { # Alphabetic password making function via MD5 hashing
# random + Year + Month + Day + Hour + Minute + Second + Nanoseconds
local s=$(head /dev/urandom)$(date +%Y%m%d%H%M%S%N)
echo $s | md5sum | uuencode -m -| sed -n 2p | cut -c3-43 | cut -c1-${1:-8};
}