Skip to content

mmxsrup/libsha1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libsha1

This program is tiny SHA1 Library

Algorithm

Compile

make

Test

./tesh.sh

Interface

void SHA1_Init(SHA1_CTX* context);

void SHA1_Update(SHA1_CTX* context, const unsigned char* data, size_t len);

void SHA1_Final(unsigned char digest[20], SHA1_CTX* context);

SHA1_Init : initializes a SHA1_CTX context
SHA1_Update : add data
SHA1_Final : To give the final result

Reference

SHA-1 Wikipedia Ja
https://ja.wikipedia.org/wiki/SHA-1

SHA-1の計算方法
http://bkclass.web.fc2.com/doc_sha1.html

About

SHA1 Hash Library for C

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published