- All Implemented Interfaces:
Mac
public class BCMac
extends Object
implements Mac
-
Method Summary
byte[]
void
void
void
void
void
update(byte[] array,
int offset,
int length)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
init
public void init(byte[] key)
- Specified by:
init in interface Mac
-
update
public void update(byte b)
- Specified by:
update in interface Mac
-
update
public void update(byte[] array)
- Specified by:
update in interface Mac
-
update
public void update(byte[] array,
int offset,
int length)
- Specified by:
update in interface Mac
-
doFinal
public byte[] doFinal()
- Specified by:
doFinal in interface Mac
-
reset
public void reset()
- Specified by:
reset in interface Mac