Since openssl is on most things and ${RANDOM%23} doesn’t alwasy cover the need, you can use openssl to generate completely random text from hexidecimal values.
openssl
${RANDOM%23}
openssl rand -out foo -hex 100