title: API sha1 hash generation not matching
body: <p>I'm getting from Slideshare API explorer which is working:</p>
  
  <pre><code>64f43b4be73bc11a15142c1ef5dab1130c5064cb
  </code></pre>
  
  <p>From SHA1 hashing of below string</p>
  
  <pre><code>81LqkNkvy1391428643
  </code></pre>
  
  <p>But when I use in Rails:</p>
  
  <pre><code>Digest::SHA1.hexdigest("81LqkNkvy1391428643")
  </code></pre>
  
  <p>I get:</p>
  
  <pre><code>1ef520bb53227b9edf691d47da653f93d232e16e
  </code></pre>
  
  <p>I cannot figure out why this is not matching.</p>
  
  <p>According to Slideshare API link</p>
  
  <p><a href="http://www.slideshare.net/developers/documentation" rel="nofollow">http://www.slideshare.net/developers/documentation</a></p>
  
  <p>It clearly says</p>
  
  <pre><code>hash: Set this to the SHA1 hash of the concatenation of the shared secret and the 
  timestamp (ts). i.e. SHA1 (sharedsecret + timestamp). The order of the terms 
  in the concatenation is important.
  </code></pre>
  
  <p>I thought I followed the instructions correctly. I also tried decryption of above SHA1 strings but had no luck so far.</p>
  
  <p>What could be the issue here?</p>