visualize a secure messaging protocol
Encryption is an important part in todays world, as everyone cares about their privacy (some more than others). In order to visualize how a basic messaging protocol could look like, this project had been started. It will show and explain each mathmatical step that will be executed in order to encrypt nor decrypt your messages.
In order to secure the messaging protocol from external attackers (this excludes the attack of the server owner), a Diffie-Hellman Key Exchange will be executed before any further messages will be send. The public parameters will be calculated by the client itself to allow full flexibility in the number selection. When this process finished, a secure tunnel has been established between the client and server, so on, an attack from the outside of this chain is not possible.
Privacy is another aspect this protocol will take care of, by using the RSA algorithm to encrypt and decrypt the messages between the users. This will allow the users to communicate privately, but not completely anonymous as the server owner can log the amount of messages sent from one specific user to another (however, this is not the goal of this project).
The detailed documentation on the protocol can be found here in the /doc
directory.
Use the following commands in order to execute this software:
# Clone the code
$ git clone https://github.com/oltdaniel/guarded.git
$ cd guarded
# Load rebar3
$ make load-rebar3
# Start the server
$ make run
By visiting http://localhost:1234/ you will have access to the application.
Just do what you'd like to
Daniel Oltmanns - creator