bergermeister / Cryptography

Library of cryptographic and hash functions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dynamic AES S-Box Generation with Diffie-Hellman Exchange

Compilation Instructions:

  1. Open Workspace\VS2019\VS2019.sln with Visual Studio 2019 Community Edition or later
  2. From the Menu bar, select Build > Rebuild Solution
  3. Wait for the build to complete (2 successful builds)

Execution Instructions:

  1. From the Menu bar, select View > Test Explorer
  2. In the Test Explorer window, expand: a. CryptoTest > CryptoTest::NCommunication > TuSession
  3. Right click the desired Unit Test and select Run a. MVector simulates two endpoints, Alice and Bob: 1. Establishing a secure Session 2. Alice securely tranmits the AES-128 Plaintext test vector to Bob 3. Bob securely receives the AES-128 Plaintext test vector b. MDynamicSBox simulates two endpoints, Alice and Bob: 1. Establishing a secure Session 2. Alice securely tranmits a text message to Bob 3. Bob securely receives the correct text message c. To view intermediate stages, such as the Ciphertext generated, place a breakpoint on the final Assert::AreEqual line of the desired Unit Test and select Debug instead of Run. Visual Studio will halt at the breakpoint and the watch window can be used to view the values of the Ciphertext, S-Box, I-Box, etc...

About

Library of cryptographic and hash functions

License:GNU General Public License v3.0


Languages

Language:C++ 97.4%Language:C 2.6%