title: generating/ storing account activation code
body: <p>usually on any website after you register they send you an e-mail with an account activation code,
  is there somewhere some information/best-practices about this technique ? <br/> like about how do you generate them, how do you store them, do you encode or not these activation codes ?</p>