dox and better salting for x0r