Skip to content
/ HMAC Public

self development HMAC, using sha-256 hash

Notifications You must be signed in to change notification settings

ra2637/HMAC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HMAC

self development HMAC and sha-256.

There are three bash scripts for Ubuntu: sha256, hmac, runDemo

sha256 uses self-implemented sha-256 algorithm to create password hash and store it in keyFile, you can specify the password and keyFile ./sha256 $password $keyFile

hmac create uses self-implemented hmac algorithm to create hmac. You can specify keyFile, messageFile, and outputFile.

./hmac create $keyFile $messageFile $outputFile

hmac verify uses javax.crypto library to create hmac. You can specify keyFile, messageFile, and outputFile

./hmac verify $keyFile $messageFile $outputFile

runDemo will run sha256 first and then run hmac create, hmac verify and test the two hmac has the same result.

About

self development HMAC, using sha-256 hash

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published