Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



A TXT DNS entry could identify the unhashed text, eg:

  @    TXT   "v=sha1reverse; food in chicago"
The browser could look this up, verify it, and display "#:// food in chicago" in the location instead of the hashed domain name.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: