protected void initMAC() { byte[] firstBlock = new byte[64]; cipher.processBytes(firstBlock, 0, 64, firstBlock, 0); mac.init(new KeyParameter(firstBlock, 0, 32)); Arrays.fill(firstBlock, (byte)0); }
protected void initMAC() { byte[] firstBlock = new byte[64]; cipher.processBytes(firstBlock, 0, 64, firstBlock, 0); mac.init(new KeyParameter(firstBlock, 0, 32)); Arrays.fill(firstBlock, (byte)0); }