#!/bin/bash
BC_LINE_LENGTH=0 bc <<< "obase=10;ibase=16;$(openssl rand -hex $1 | tr '[:lower:]' '[:upper:]')"