URL safe base64 integers and conversion tools