I have a simple client-server application. The client sends "Hello World" to the server.

How do i encrypt the message sent by the client, and how do I decrypt the message received by the server ?