Skip to content

bassdude5/hmac-sha256

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sources

Core of the project taken from: https://github.com/smsali97/hmac-sha256

Compile

Run the install.sh script from the project root directory.

Run

Start the server first using the run_server.sh file, then run the client_server.sh file.

Output Screenshots

3

Key Generation for HMAC-SHA256

For generating the key we first used the appropiate algorithm (in this case it was SHA-256) and then on the basis of the shared private key which given to both client and server we generated HMAC and then represented a 64 Base encoded hash. This hash which was a string was to be exactly the same since both client and server had the secret key and message and could validate that indeed the message was not tampered.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published