The system has two parties — a Sender and a Receiver — that communicate securely over a TCP socket. The message is encrypted on the sender's side using RSA and decrypted on the receiver's side.