Slower compared to what? In fact those token are only available for a limited amount of time so I thin uniqid is enough.