예제 #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();
 }