aboutsummaryrefslogtreecommitdiff
path: root/src/crypto.h
diff options
context:
space:
mode:
authorame <[email protected]>2023-11-03 19:45:15 -0500
committerame <[email protected]>2023-11-03 19:45:15 -0500
commit5cd20516567da82c60b5513c732e23db6918a4b6 (patch)
treeec66bbcd1453fda3b7fde17ffa42b70180a149d1 /src/crypto.h
parentc3d9a4d44c1c6930fac277d20c6ea48801e39a18 (diff)
tons of checksums (i had fun:3)
Diffstat (limited to 'src/crypto.h')
-rw-r--r--src/crypto.h16
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},