From deacfd0e3ca66c3dd29cf4ff6fdaedcc184d101f Mon Sep 17 00:00:00 2001 From: ame Date: Tue, 24 Oct 2023 23:51:50 -0500 Subject: sha2xx --- src/crypto.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/crypto.h') diff --git a/src/crypto.h b/src/crypto.h index be0683e..27dca51 100644 --- a/src/crypto.h +++ b/src/crypto.h @@ -2,14 +2,18 @@ #include "i_util.h" #include "hash/md5.h" #include "hash/sha01.h" +#include "hash/sha2xx.h" unsigned i_lr(unsigned, unsigned); +unsigned i_rr(unsigned, unsigned); static const luaL_Reg crypto_function_list [] = { {"md5",l_md5}, {"sha0",l_sha0}, {"sha1",l_sha1}, - + {"sha256",l_sha256}, + {"sha224",l_sha224}, + {NULL,NULL} }; -- cgit v1.2.3