title: SHA1 hmac PHP vs Javascript - Different Results?
body: <p>Hello
  I am using class in javascript to hash string:
  <a href="https://ssl.bsk.com.pl/mobi/js/sha1.js" rel="nofollow">https://ssl.bsk.com.pl/mobi/js/sha1.js</a></p>
  
  <pre><code>hex_hmac_sha1("927545161", "asdasdasdasdś") ;
  </code></pre>
  
  <p>Result is:
  5db0194c834d419fc5d68b72c88af1ac8ee749d6</p>
  
  <p>In PHP i'm hashing:</p>
  
  <pre><code>echo hash_hmac('sha1', "asdasdasdasdś", '927545161');
  </code></pre>
  
  <p>but result is:
  0b115775a20bed9922b6a9cc934cb5328fe71ade</p>
  
  <p>Where is error?
  5db0194c834d419fc5d68b72c88af1ac8ee749d6 != 0b115775a20bed9922b6a9cc934cb5328fe71ade </p>