示例#1
0
 protected byte[] engineDoFinal() {
   return core.doFinal();
 }
示例#2
0
 protected void engineReset() {
   core.reset();
 }
示例#3
0
 protected void engineUpdate(ByteBuffer input) {
   core.update(input);
 }
示例#4
0
 protected void engineUpdate(byte input[], int offset, int len) {
   core.update(input, offset, len);
 }
示例#5
0
 protected void engineUpdate(byte input) {
   core.update(input);
 }
示例#6
0
 protected void engineInit(Key key, AlgorithmParameterSpec params)
     throws InvalidKeyException, InvalidAlgorithmParameterException {
   core.init(key, params);
 }
示例#7
0
 protected int engineGetMacLength() {
   return core.getDigestLength();
 }