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