Geoff, thank you for such a quick response.

I thought that MAC is not as strong as hash, but now I see that it
does not make much sense. HMAC can use SHA-2 as underlying algorithm,
so that is the solution I was looking for :)

Thanks.

On Jan 30, 5:33 pm, "Geoff Beier" <[EMAIL PROTECTED]> wrote:
> Sounds like you want HMAC.
>
> http://www.cryptolounge.org/wiki/HMAChttp://www.cryptopp.com/fom-serve/cache/82.html
>
> HTH,
>
> Geoff
>
> On Jan 30, 2008 11:23 AM, mihailo <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hello.
>
> > I would like to know if there exists some hashing function that uses a
> > key for calculating a result. Or, is there any hash function H with
> > the following description : H(data, key1) does not produce the same
> > result as H(data, key2) ?
>
> > Similar as encryption, but its result should not be reversible.
>
> > Thanks in advance,
> > Mihailo
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [EMAIL PROTECTED]
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
-~----------~----~----~----~------~----~------~--~---

Reply via email to