Implement hexToBase64, base64ToHex