Suppose I have one URL.
http://google.com …I’d like to turn it into a hash. S3jvZLSDK.
Then take this hash and reverse it! into http://google.com.
To you geeks out there–what is the BEST method to do this for near-ZERO collision?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you can reverse it, then by definition it isn’t a hash. It’s an encoding. Any encoding will have zero collisions (otherwise it wouldn’t be able to accurately reverse it).
A common encoding for this purpose is base64.