} else if(type.cipherName.equals("RIJNDAEL")){ if(offset == 0 && len == input.length && outputOffset == 0 && len == output.length) blockCipher.decipher(input, output); else { byte[] result = new byte[len]; blockCipher.decipher(Arrays.copyOfRange(input, offset, offset+len), result); System.arraycopy(result, 0, output, outputOffset, len);
cipher.decipher(diskSalt, salt); if(logDEBUG) Logger.debug(this, "Encrypting (new) with "+HexUtil.bytesToHex(salt)+" from "+HexUtil.bytesToHex(diskSalt));