title: Creating hash/token from user email for email-verification
body: <p>Can anyone help me out with an answer to what to use for creating a security token (or hash) from a user input (email address). I'd like to make an email verification system for registration.</p>
  
  <ul>
  <li>user registers with an email address and password</li>
  <li>I would like to create a unique URL which I would send out to the user (hence the question)</li>
  <li>I store these (secure wise) in a temp table </li>
  <li>The user verifies himself via the URL sent out</li>
  </ul>
  
  <p>My question is how this URL should look like. I think I should make it unique by encoding the email address into it, saving the url to the temp-table and when the user opens the link I would compare the two. If match, I would move the credentials to the real table.</p>
  
  <p>Do you have any good resource about this topic. I have nodejs on the backend. Thanks</p>