Skip to content

N3Ur0t0x1c/Sha1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sha1

SHA1 implementation in C

<<<<<<< HEAD Implementing the SHA-1 Algorithm designed and standarized by the NIST. SHA-1 Detail: http://en.wikipedia.org/wiki/SHA-1

Implemented the calculate_sha1() function on the header, so you can just include the file shalib.h into your project and create a structure pointer and call the function using the following prototype. int calculate_sha1(struct sha* , char , uint32_t length); where struct sha is a pointer of type structure sha and char * is a pointer to message stream, and uint32_t is a length in bytes.

The hash is stored in the sha pointers digest[] array.

pr/1

About

SHA1 implementation in C

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages