1
0
mirror of https://github.com/fumiama/simple-crypto.git synced 2026-06-05 01:50:24 +08:00

edit readme

This commit is contained in:
源文雨
2022-10-15 23:40:54 +08:00
parent efa7cfab66
commit 4b09328d0c

View File

@@ -56,13 +56,5 @@ make install
#include <simplecrypto.h>
```
2. Call functions.
```c
uint8_t* md5(const uint8_t *data, size_t data_len, uint8_t digest[16]);
int64_t tea_encrypt_qq(const TEA t[4], const TEADAT* src, TEADAT* out);
int64_t tea_encrypt(const TEA t[4], const uint32_t sumtable[0x10], const TEADAT* src, TEADAT* out);
int64_t tea_encrypt_native_endian(const TEA t[4], const uint32_t sumtable[0x10], const TEADAT* src, TEADAT* out);
int64_t tea_decrypt_qq(const TEA t[4], const TEADAT* src, TEADAT* out);
int64_t tea_decrypt(const TEA t[4], const uint32_t sumtable[0x10], const TEADAT* src, TEADAT* out);
int64_t tea_decrypt_native_endian(const TEA t[4], const uint32_t sumtable[0x10], const TEADAT* src, TEADAT* out);
```
> see all functions in simplecrypto.h