If on Windows:
- Visual Studio Community: https://visualstudio.microsoft.com/vs/community/
Run the following commands from the project root:
cd csharp
dotnet build
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 .
Start the server by running the executable in the cpp\build
directory (or wherever the executable resides).
.\cpp.exe
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.