Skip to content

Commit

Permalink
Added a README, development details and how to run
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasG9 committed Sep 26, 2020
1 parent 09802dd commit db5dd3b
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions Lab2/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Lab 2: Implementation and Application of HMAC - Andreas Gagas

**Language:** C++
**OS**: Windows 10
**IDE**: Visual Studio 2019, but developed without project mode, compiled separate .cpp
files with MSVC on command line.
**External Libraries**: Crypto++ 8.2.0, built as static library (cryptlib Release Win32)
<br/>
**How to include library, if needed**
* Download Crypto++ 8.2.0 and extract ... [crypto++ download page](https://www.cryptopp.com/index.html#download)
* Open crypttest.sln or cryptlib.vcxproj in Visual Studio. Build -> Batch Build -> SELECT cryptlib Release Win32 -> **BUILD**.
* Copy the cryptlib.lib (in cryptopp820 -> win32 -> Output -> Release -> cryptlib.lib) in same folder as .cpp files (server.cpp and client.cpp).
- Because of my header declarations, make sure the entire cryptopp820 folder and cryptlib.lib are in the same folder with .cpp files.
- Folder will include **server.cpp, client.cpp, cryptopp820, cryptlib.lib, key_des.txt, key_hmac.txt**

**How to include run**
- (x2) Tools -> Command Line -> Developer Powershell
- cl.exe server.cpp /EHsc /MT
- cl.exe client.cpp /EHsc /MT
- **run the server first:** ./server
- **run the client second:** ./client
- .. started communication

**Other:** video included that shows compilation, and the running of the server and client.
**Repository**: https://github.com/AndreasG9/3319-Labs/tree/master/Lab2

0 comments on commit db5dd3b

Please sign in to comment.