From 5cd20516567da82c60b5513c732e23db6918a4b6 Mon Sep 17 00:00:00 2001 From: ame Date: Fri, 3 Nov 2023 19:45:15 -0500 Subject: tons of checksums (i had fun:3) --- src/crypto.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'src/crypto.h') 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}, -- cgit v1.2.3