exposed base64 uid generation