mirror of
https://github.com/fumiama/simple-crypto.git
synced 2026-06-16 10:10:23 +08:00
优化md5
This commit is contained in:
@@ -20,9 +20,9 @@ make install
|
||||
```c
|
||||
#include <simplecrypto.h>
|
||||
```
|
||||
2. Call functions. Don't forget to `free` the returned digest.
|
||||
2. Call functions.
|
||||
```c
|
||||
uint8_t* md5(const uint8_t *data, size_t data_len);
|
||||
uint8_t* md5(const uint8_t *data, size_t data_len, uint8_t digest[16]);
|
||||
|
||||
TEADAT* tea_encrypt_qq(const TEA t[4], const TEADAT* src);
|
||||
TEADAT* tea_encrypt(const TEA t[4], const uint32_t sumtable[0x10], const TEADAT* src);
|
||||
|
||||
Reference in New Issue
Block a user