public void run(){
		
		while(true){
			try {
				server=serversocket.accept();
			} catch (IOException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
			try{
				while(true){			
				in =new DataInputStream(server.getInputStream());
                out=new DataOutputStream(server.getOutputStream());
                String clntmsg=in.readUTF();
                String decmsg=decipher(clntmsg);
                System.out.println("client says(cipher):"+clntmsg);
                System.out.println("client says(plain text):"+decmsg);
                System.out.print("server:");
                Scanner s=new Scanner(System.in);
                out.writeUTF(cipher(s.nextLine()));
			}
			}
			catch(Exception ex){
				System.out.println(ex.getLocalizedMessage());
			}
		}
	}