title: Calculate HMAC-SHA256 digest in ColdFusion using Java
body: <p>We are trying to calculate a HMAC-SHA256 digest in ColdFusion and we are using the HMAC CFC, but in one case it is producing a different result for the digest compared to ones generated in different languages - have tried the same data using Ruby &amp; PHP and get the expected result. I have also tried the CF_HMAC custom tag it is based on and get the same results.</p>
  
  <p>I understand that from CF8 <code>encrypt()</code> supports HMAC-SHA256, but it's only available in Enterprise (which we don't have) and isn't even available in developer version for me to test.</p>
  
  <p>So my question is can I do this by accessing Java from CF?</p>