converts hero0 to base64