title: JWT (Json web token) Vs Custom Token
body: <p>I was looking through the questions but I did not find anything which could solve my doubt. I found extensive information about JWT, but not much when comparing the advantages JWT could offer over generating a custom token to authentication requests against REST services.</p>
  
  <p>What is the advantage to use a JWT (Json Web Token) over generating a custom generating token ? To generating the custom token I could use some hashing strategy or some unique random number generator.</p>
  
  <p>If I generate a custom token, Could I have any security concerns ?
  Would you recommend to use any other authentication mecanism ?</p>
  
  <p>Thanks!</p>