Skip to content

Simple sha256 program using openssl's libcrypto library

Notifications You must be signed in to change notification settings

chibby0ne/using_sha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple c program that caluclates sha256sum using OpenSSL's Libcrypto

Build

mkdir build
cd build
cmake ..
make

Usage

For use simply provide one command line argument to calculate the sha256sum, by using both: the sha256 functions from the library, and the bash command sha256sum for verification.

eg:

$ ./sha256_test ioajpdsoijfpojdsf
Word to hash: ioajpdsoijfpojdsf
Calculated hash: 050b2748fd858f0eefcae1216e0788caed979ac8edc6c7c4690b84d04952ac6e
Golden hash (sha256sum): 050b2748fd858f0eefcae1216e0788caed979ac8edc6c7c4690b84d04952ac6e
Hash matches!

License

MIT

About

Simple sha256 program using openssl's libcrypto library

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published