Dynamic AES S-Box Generation with Diffie-Hellman Exchange
Compilation Instructions:
- Open Workspace\VS2019\VS2019.sln with Visual Studio 2019 Community Edition or later
- From the Menu bar, select Build > Rebuild Solution
- Wait for the build to complete (2 successful builds)
Execution Instructions:
- From the Menu bar, select View > Test Explorer
- In the Test Explorer window, expand: a. CryptoTest > CryptoTest::NCommunication > TuSession
- 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...