Skip to content

sasanj/libsha256

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SHA256 Library

A simple static sha256 library for use in other projects.

The actual code has come from cgminer which is a leaner copy of Aaron Gifford's Implementations of SHA-256.

Build

It is a simple cmake project, so:

mkdir build
cd build
cmake ..
make

Test

For the test to run, sha256sum must be in the $PATH. Then in the build directory, run test/sha256sum_test. It will create a temprory file, and checks if the library computes sha256sum of that file, correctly like sha256sum command.

About

A simple sha256 library.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published