Skip to content

Secure key exchange and message passing protocol proof-of-concept.

Notifications You must be signed in to change notification settings

casciand/message-protocol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

  1. cmake: https://cmake.org/download/
  2. .NET: https://dotnet.microsoft.com/en-us/download

If on Windows:

  1. Visual Studio Community: https://visualstudio.microsoft.com/vs/community/

Build

Run the following commands from the project root:

C#

cd csharp
dotnet build

C++

If on Linux or macOS:

cd cpp/lib/cryptopp
make
cd cpp
mkdir build && cd build
cmake ..
make

If on Windows:

Open the project in Visual Studio. If it complains about an outdated toolset, change to the newer toolset in properties. Build project lib and build project DLL. Copy DLL to the folder where cpp.exe is located, most likely cpp\build\Debug.

cd cpp\build
cmake --build .

Run

C++

Start the server by running the executable in the cpp\build directory (or wherever the executable resides).

.\cpp.exe

C#

Start the client by running the following command in the csharp directory.

dotnet run

After the connection establishes, send encrypted messages to and from the server via the prompts.

About

Secure key exchange and message passing protocol proof-of-concept.

Topics

Resources

Stars

Watchers

Forks