<div dir="ltr"><div style>Hello,</div><div style><br></div>I could be wrong, but I think that Synapse function have a bug. See:<div><br></div><div>Using PHP:</div><div><div><?php<br></div><div><div><span class="" style="white-space:pre"> </span>echo hash_hmac("ripemd160", "The quick brown fox jumped over the lazy dog.", "secret");</div>
<div>?></div><div>Result:<br></div><div class="gmail_extra"><div>b8e7ae12510bdfb1812e463a7f086122cf37e4f7<br></div><div><br></div><div>Using the <a href="http://www.freeformatter.com">http://www.freeformatter.com</a> site<br>
</div><div>Result:<br></div><div>5d4db2701c7b07de0e23db3e4f22e88bc1a31a49<br></div><div><br></div><div style>Using Synapse:</div><div><div>uses</div><div> synacode;</div><div>begin<br></div><div> Write(HMAC_SHA1('The quick brown fox jumped over the lazy dog.', 'secret');</div>
<div>end.</div></div><div>Result:<br></div><div style>]M?p { ? #?>O"?c I<br></div><div><br></div>-- <br>Silvio Clécio<br>My public projects - <a href="http://github.com/silvioprog" target="_blank">github.com/silvioprog</a>
</div></div></div></div>