au.net.aba.crypto.provider
Class IDEAMac

java.lang.Object
  |
  +--javax.crypto.MacSpi
        |
        +--au.net.aba.crypto.provider.DESMac
              |
              +--au.net.aba.crypto.provider.IDEAMac

public class IDEAMac
extends DESMac

This class implements the DES based MAC algorithm as defined in FIPS PUB 113.

This algorithm produces a 4 byte MAC value.

Currently this class will not work correctly unless the input data size is an exact multiple of 8. Data that isnt of this length should be padded with zeros. Eventually the DES cipher class will be modified to perform this function.


Constructor Summary
IDEAMac()
          Default constructor, initialises the instance.
 
Methods inherited from class au.net.aba.crypto.provider.DESMac
engineDoFinal, engineGetMacLength, engineInit, engineReset, engineUpdate, engineUpdate
 
Methods inherited from class javax.crypto.MacSpi
clone
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IDEAMac

public IDEAMac()
Default constructor, initialises the instance.