Proposed an architecture for a secure instant messaging system and implemented with Java from Network Security.