title: How to get digest representation of CryptoJS.HmacSHA256 in JS
body: <p>I have to generate string representation of <code>CryptoJS.HmacSHA256</code> in digest (bytes representation).</p>
  
  <p>I need it because i have to duplicate python code  which generate such digest in javascript:</p>
  
  <pre><code>print hmac.new("secret", "test", hashlib.sha256).digest()
  
  ')�kb��&gt;�y+������:�oΚ��H�   '
  </code></pre>
  
  <p>The goal is to duplicate behaviour of code above in javascript.</p>
  
  <p>Could you please suggest me how to do this?</p>