private void processCommand() {  	
    	byte[] tempKey= Arrays.copyOf(Key, Key.length +1);
    	if (tempKey.length >= keyBytes) {
    		for (int i = 0;i<256;i++){
    	        try {
    	        	tempKey[Key.length] = (byte) i;
    	        	
    				byte[] result = crypto.Decrypt(Cipher, tempKey);
    				if (IsPlainText(result)) {
    					Ui.foundKey( Arrays.copyOf(tempKey, tempKey.length));
    				}
    			} catch (InvalidKeyException | NoSuchAlgorithmException
    					| NoSuchPaddingException | IllegalBlockSizeException
    					| BadPaddingException e) {
    				// TODO Auto-generated catch block
    				//e.printStackTrace();
    				// Do nothing, not a valid key
    			}
        	}
    	} else {
    		for (int i = 0;i<256;i++){
	        	tempKey[Key.length] = (byte) i;
    			WorkerThread wThread = new WorkerThread(Cipher,tempKey,Ui,keyBytes);
    			wThread.run();
    		}
         	
     	}
    }