Add a secure random hex string function

Needed for the encrypted volumes feature