I'm trying to mimic is this PHP functionality
<?php
base64_encode( hash_hmac( 'SHA256', $a, $b, true) );
?>
is there a difference between the "HmacSHA256" and "sha256"?
This works - but doesn't give me the same result:
<cfscript>
toBase64( hmac( a, b, 'HmacSHA256', 'us-ascii' ) );
</cfscript>
this tells me "sha256" is unavail (because Im not using enterprise)
<cfscript>
toBase64( hmac( a, b, 'SHA256', 'us-ascii' ) );
</cfscript>
Any way I can do this without enterprise? isn't there a java lib i can tie into for encoding?
thanks