Blog Archives

Netbeans: Headers to Java File

In the Netbeans IDE, whenever you create a project/file, it adds the following header. /* * To change this template, choose Tools | Templates * and open the template in the editor. */ Here we will see, how to change

Tagged with: ,
Posted in Uncategorized

Retail MAC Calculation in Java

The following java code shows Cryptographic checksum calculated using ISO/IEC 9797-1 MAC algorithm 3 with block cipher DES, zero IV (8 bytes), and ISO/IEC 9797-1 padding method 2. No external library like Bouncy Castle, used. This is not a perfect

Tagged with: ,
Posted in Uncategorized