mirror of
https://github.com/fumiama/simple-crypto.git
synced 2026-06-10 13:40:25 +08:00
edit readme
This commit is contained in:
10
README.md
10
README.md
@@ -56,13 +56,5 @@ make install
|
|||||||
#include <simplecrypto.h>
|
#include <simplecrypto.h>
|
||||||
```
|
```
|
||||||
2. Call functions.
|
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);
|
> see all functions in simplecrypto.h
|
||||||
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);
|
|
||||||
```
|
|
||||||
|
|||||||
Reference in New Issue
Block a user