hash_hmac key definition
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/5579559/how-to-implement-hash-hmac-properly">How to implement hash_hmac properly?</a>  </p>
</blockquote>



<p>I'm using the hash_hmac function to generate a keyed hash. In this function's argument I should specify a key. I'm wondering what should I use there. Like how should I come up with something and what is your advice for me. I'm afraid if I placed something general I'll be exposed to security breaches on the website I'm developing. Any advice?</p>

<p>the user has "countryOfOrigin" attribute stored for him/her, is it a good idea to use it as a key or maybe instead of the that I can use the username provided on the sign up process..</p>
