diff options
| author | ame <[email protected]> | 2023-11-03 19:45:15 -0500 |
|---|---|---|
| committer | ame <[email protected]> | 2023-11-03 19:45:15 -0500 |
| commit | 0e4aeb5ee6878c74f8116b0719a90e167d17c6b4 (patch) | |
| tree | ec66bbcd1453fda3b7fde17ffa42b70180a149d1 /src/crypto.h | |
| parent | 78e72d66085f27719a6f23fc22e58dfc8a0f31e6 (diff) | |
tons of checksums (i had fun:3)
Diffstat (limited to 'src/crypto.h')
| -rw-r--r-- | src/crypto.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/crypto.h b/src/crypto.h index 0bee9a3..f54047b 100644 --- a/src/crypto.h +++ b/src/crypto.h @@ -5,6 +5,12 @@ #include "hash/sha2xx.h" #include "hash/pearson.h" #include "hash/xxh.h" +#include "hash/adler.h" +#include "hash/bsdchecksum.h" +#include "hash/crc.h" +#include "hash/fletcher.h" +#include "hash/sysvchecksum.h" +#include "hash/xor.h" #include "encode/uuencode.h" #include "encode/base64.h" @@ -22,6 +28,16 @@ static const luaL_Reg crypto_function_list [] = { {"pearson",l_pearson}, {"xxh64",l_xxh64}, {"xxh32",l_xxh32}, + {"adler32",l_adler32}, + {"bsdchecksum",l_bsdchecksum}, + {"crc8",l_crc8}, + {"crc16",l_crc16}, + {"crc32",l_crc32}, + {"fletcher8",l_fletcher8}, + {"fletcher16",l_fletcher16}, + {"fletcher32",l_fletcher32}, + {"sysvchecksum",l_sysvchecksum}, + {"xor8",l_xor8}, {"uuencode",l_uuencode}, {"uudecode",l_uudecode}, |
