dd if=/dev/urandom bs=786438 count=1 | base64 > /tmp/file
cat /tmp/file | tr 'A-Za-z0-9+/=' 'a-z0-9A-Z$%'