Hello, I could be wrong, but I think that Synapse function have a bug. See:
Using PHP: <?php echo hash_hmac("ripemd160", "The quick brown fox jumped over the lazy dog.", "secret"); ?> Result: b8e7ae12510bdfb1812e463a7f086122cf37e4f7 Using the http://www.freeformatter.com site Result: 5d4db2701c7b07de0e23db3e4f22e88bc1a31a49 Using Synapse: uses synacode; begin Write(HMAC_SHA1('The quick brown fox jumped over the lazy dog.', 'secret'); end. Result: ]M?p { ? #?>O"?c I -- Silvio Clécio My public projects - github.com/silvioprog
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal