Re: ISO/IEC 9797-1 MAC Algorithm 3 how to?

From: Frank Fritze (frank.fritze_at_bdr.de)
Date: 04/13/05


Date: 13 Apr 2005 13:41:52 -0700

frank.fritze@bdr.de (Frank Fritze) wrote in message news:<dfcb9d01.0504130641.6b27b0db@posting.google.com>...
> Hi,
>
>
> I need to calculate the Cryptographic checksum using ISO/IEC 9797-1 MAC
> algorithm 3 with block cipher DES, zero IV (8bytes), and ISO 9797-1
> padding method 2. The MAC length must be 8 bytes.
>
>
> Any ideas on how to do it?
>
>
> As a sample, the data I am working on now is:
> Data =
> '72C29C2371CC9BDB65B779B8E8D37B29ECC154AA56A8799FAE2F498F76ED92F2'
> Kmac = '7962D9ECE03D1ACD4C76089DCE131543'
>
>
> Resultant MAC[Kmac](Data)='5F1448EEA8AD90A7' (I want to know how to get
> to this value).

In addition to my question:

I've already tried to calculate it over MACTripledes ... but with no success..
And I'm sure, it can be done with .NET, isn't it ?

Regards

Frank



Relevant Pages