protected byte[] arc4Key() throws CartInvalidCartException {
		byte[] arc4KeyCopy = new byte[CartV1Constants.ARC4_KEY_LENGTH];

		if (this.arc4Key != null) {
			System.arraycopy(this.arc4Key, 0, arc4KeyCopy, 0, CartV1Constants.ARC4_KEY_LENGTH);
		}
		else {
			throw new CartInvalidCartException("No ARC4 key available for CaRT.");
		}

		return arc4KeyCopy;
	}
Get a copy of the ARC4 key read from the header.

@return A copy of the ARC4 key read from the header.
@throws CartInvalidCartException If the header object is not valid.
Ghidra/Features/FileFormats/src/main/java/ghidra/file/formats/cart/CartV1Header.java