[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: example to use the MD5 function
SHA-1 and MD5 are alternatives to one another. You cannot use MD5 to
make a SHA-1 hash... you have to use SHA-1 for that.
The openssl tool that comes with IBM i is a relatively easy way to make
an SHA-1 hash. IBM also provides APIs, but they require a bit more
expertise.
On 5/5/2011 1:47 AM, Stéphane AUDET wrote:
>
> Hello,
>
>
> I use HTTPAPI to post a Webform to an HTTPS serveur.
>
>
> Now my client ask me to add a passphrase to the webform.
>
> I have a SHA KEY and i had to hash a string whith the algo SHA-1.
>
>
> I know that Scott has a function called MD5 which is capable to do the
> hash correctly.
>
>
> Someone can send me an exemple of utilisation of this function in the
> context of httpapi?
>
>
> Thank you.
>
>
> Stéphane AUDET
>
>
>
>
> -----------------------------------------------------------------------
> This is the FTPAPI mailing list. To unsubscribe, please go to:
> http://www.scottklement.com/mailman/listinfo/ftpapi
> -----------------------------------------------------------------------
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------