protected void processEncryption() throws Exception {
		List<EncryptedInformationCommand> cmds =
			machoHeader.getLoadCommands(EncryptedInformationCommand.class);
		monitor.initialize(cmds.size(), "Processing encryption...");
		for (EncryptedInformationCommand cmd : cmds) {
			monitor.increment();
			if (cmd.getCryptID() != 0) {
				log.appendMsg(String.format("ENCRYPTION DETECTED: (file offset 0x%x, size 0x%x)",
					cmd.getCryptOffset(), cmd.getCryptSize()));
			}
		}
	}
Logs encrypted block ranges

@throws Exception if there was a problem detecting the encrypted block ranges
Ghidra/Features/Base/src/main/java/ghidra/app/util/opinion/MachoProgramBuilder.java