Archive for August, 2015

In case anyone is looking for existing implementation of DES MAC ISO 9797 ALG3 for M1 and M2 on Python 3. The difference between M1 is start padding is 0x00 while M2 is 0x80. This algorithm is useful to validate a cryptogram returned from “Generate AC” command in EMV transactions.

Hope it helps 🙂 (more…)

Read Full Post »