mirror of
https://github.com/fumiama/simple-crypto.git
synced 2026-06-06 10:20:24 +08:00
412 B
412 B
simple-md5-lib
Simple C lib of the MD5 algorithm
Install
git clone https://github.com/fumiama/simple-md5-lib.git
cd simple-md5-lib
mkdir build
cd build
cmake ..
make
make install
Usage
- Include
simplemd5.hin your c program.
#include <simplemd5.h>
- Call
md5function. Don't forget tofreethe returned digest.
uint8_t* md5(const uint8_t *data, size_t data_len);