From bbdb94b7ed8acfb0ded338e4c2b92240e3f10128 Mon Sep 17 00:00:00 2001 From: ame Date: Mon, 23 Oct 2023 20:47:41 -0500 Subject: sha1 & reorganizing --- src/crypto.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/crypto.h') diff --git a/src/crypto.h b/src/crypto.h index a62add2..be0683e 100644 --- a/src/crypto.h +++ b/src/crypto.h @@ -1,11 +1,15 @@ #include "lua.h" #include "i_util.h" +#include "hash/md5.h" +#include "hash/sha01.h" -int l_md5(lua_State*); +unsigned i_lr(unsigned, unsigned); static const luaL_Reg crypto_function_list [] = { {"md5",l_md5}, - + {"sha0",l_sha0}, + {"sha1",l_sha1}, + {NULL,NULL} }; -- cgit v1.2.3