Use whatever encoding you want? Base64 is probably one of the most practical, but you're not obligated to use that.

UUIDs don't use base64