One downside of this is that you're using a secure one-way hashing function. This means that if for some reason you have the hashed url you can't get the clean one back.
You could use something something like base64 instead.. might work better but it would remove the ability to use files as domain names.
You could use something something like base64 instead.. might work better but it would remove the ability to use files as domain names.