This article proposes the development of a method for transmitting secure messages using a combination of best practices for organizing data exchange and cryptographic instant messaging protocols using end-to-end encryption. It considers ways of organizing an application using a peer-to-peer network and client-server architecture. It analyzes popular instant messaging protocols using end-to-end encryption. The software components of the application based on the developed method are described.
Keywords: messenger, end-to-end encryption, cryptographic protocol, instant messaging, peer-to-peer network, client-server