public void setKey(String key) {
		byte[] keybyte = key.getBytes();
		if (keybyte == null) {
			throw new RuntimeException("No key");
		} else if (keybyte.length < 16) {
			throw new RuntimeException("Key too short");
		}

		// Change bytes for ints
		IntBuffer intBuf = ByteBuffer.wrap(keybyte).order(ByteOrder.BIG_ENDIAN)
				.asIntBuffer();
		int[] array = new int[intBuf.remaining()];
		intBuf.get(array);
		for (int i = 0; i < 4; i++) {
			this.key[i] = array[i];
		}

	}