Make use of the improved hex and base64 functions.