I am trying to generate a reset password link for my web application and have thought of hashing timestamp+useremail+password with a secret string and then the hashed string would be unique for each user who wants to reset their password.
But the problem is that these hashed strings have the "/" character in them at times, and so if I use these strings, then the link won't work properly. How do I avoid this problem? Which hashing technique or what else should I use for generating my links?