Somehow generate_hex was broken this entire time and I didn't notice

This commit is contained in:
Matthew Lopez
2023-12-31 14:03:16 -05:00
parent e53fa55ff4
commit 7400e68bff

View File

@@ -9,7 +9,7 @@ generate_password() {
generate_hex() {
length=$1
head /dev/urandom | tr -dc "a-zA-Z0-9" | head -c "$length"
head /dev/urandom | tr -dc "A-F0-9" | head -c "$length"
}
# Validate arguments