1
0
mirror of https://github.com/fumiama/simple-crypto.git synced 2026-06-06 10:20:24 +08:00
Files
simple-crypto/README.md
2021-05-29 13:58:23 +08:00

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

  1. Include simplemd5.h in your c program.
#include <simplemd5.h>
  1. Call md5 function. Don't forget to free the returned digest.
uint8_t* md5(const uint8_t *data, size_t data_len);