Class RetailMAC

java.lang.Object
org.kapott.cryptalgs.RetailMAC

public class RetailMAC extends Object
  • Field Details

    • deskey

      private SecretKey deskey
    • desedekey

      private SecretKey desedekey
    • ivspec

      private IvParameterSpec ivspec
    • buffer

      private byte[] buffer
    • offset

      private int offset
    • c

      private byte[] c
    • cipher

      private Cipher cipher
  • Constructor Details

  • Method Details

    • doFinal

      public byte[] doFinal(byte[] data)
    • doFinal

      public byte[] doFinal()
    • update

      public void update(byte data)
    • reset

      public void reset()
    • getMacLength

      public int getMacLength()
    • update

      public void update(byte[] ibuffer, int offset1, int len)
    • hashIt

      private void hashIt()