private byte[] encrypt(byte[] data) throws InvalidKeyException,
			IllegalBlockSizeException, BadPaddingException {
		
		if (data.length > MAX_ENC_SIZE) {
			System.err
					.println("Data to long to encrypt. Reason: Possible cheating! Fix: Exit");
			System.exit(1);
		}

		RSAKeyParameters kp = new RSAKeyParameters(false, n, e);
		RSAEngine engine = new RSAEngine();
		engine.init(true, kp);
		byte[] cText = engine.processBlock(data, 0, data.length);
		return cText;
	}