2013/3/25 Lukas Gebauer <gebyl...@mlp.cz> > > 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 > > ...because you must convert binary string into hexadecimal string, if > you wish. Use: > > write(StrToHex(HMAC_SHA1('The quick brown fox jumped over the lazy > dog.', 'secret'))); > > -- > Lukas Gebauer. > > http://synapse.ararat.cz/ - Ararat Synapse - TCP/IP Lib. > http://geoget.ararat.cz/ - Geocaching solution
Hello Lukas, thank you very much for the information friend. :) I've a friend who uses Synapse with Delphi and I'll indicate this routine! ;) -- 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