<div dir="ltr">2013/3/23 Tomas Hajny <span dir="ltr"><<a href="mailto:XHajT03@hajny.biz" target="_blank">XHajT03@hajny.biz</a>></span><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
On Sat, March 23, 2013 06:28, silvioprog wrote:<br>
<br>
Hi,<br>
<div class="im"><br>
> How to get HMAC_SHA1 using native functions of FPC?<br>
><br>
> HMAC_SHA1:<br>
> <a href="http://en.wikipedia.org/wiki/Hash-based_message_authentication_code#Examples_of_HMAC_.28MD5.2C_SHA1.2C_SHA256.29" target="_blank">http://en.wikipedia.org/wiki/Hash-based_message_authentication_code#Examples_of_HMAC_.28MD5.2C_SHA1.2C_SHA256.29</a><br>
<br>
</div>Doesn't package hash (included with FPC by default for all targets) cover<br>
your needs?<br>
<span class=""><font color="#888888"><br>
Tomas</font></span></blockquote></div><br clear="all"><div style>Yes, the "sha1" unit, but how to do it? I was seeing a function in PHP, but I couldn't port it to the Free Pascal.</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>