Add function for generating crypto-safe random hex strings of arbitrary length