public String receive(){
        try{
            String input = this.in.readLine(); if (input==null){ System.out.println("Server thread received null string."); return null; }
            if (ENCRYPTED) return Encryptor.decrypt(input, 5); //decrypt it 5 times
            else return input;
        } catch (Exception e) {}
        return null;
    }