public interface Mac extends MacInformation
Modifier and Type | Method and Description |
---|---|
default byte[] |
doFinal() |
default void |
doFinal(byte[] buf) |
void |
doFinal(byte[] buf,
int offset) |
static boolean |
equals(byte[] a1,
int a1Offset,
byte[] a2,
int a2Offset,
int length) |
void |
init(byte[] key) |
default void |
update(byte[] buf) |
void |
update(byte[] buf,
int start,
int len) |
void |
updateUInt(long foo) |
getBlockSize, getDefaultBlockSize, isEncryptThenMac
getAlgorithm
void init(byte[] key) throws java.lang.Exception
java.lang.Exception
default void update(byte[] buf)
void update(byte[] buf, int start, int len)
void updateUInt(long foo)
default byte[] doFinal() throws java.lang.Exception
java.lang.Exception
default void doFinal(byte[] buf) throws java.lang.Exception
java.lang.Exception
void doFinal(byte[] buf, int offset) throws java.lang.Exception
java.lang.Exception
static boolean equals(byte[] a1, int a1Offset, byte[] a2, int a2Offset, int length)