diff options
| author | ame <[email protected]> | 2023-10-23 20:47:41 -0500 |
|---|---|---|
| committer | ame <[email protected]> | 2023-10-23 20:47:41 -0500 |
| commit | bbdb94b7ed8acfb0ded338e4c2b92240e3f10128 (patch) | |
| tree | 75a140c902cbf26bb4c78f710b903c5daee8a20e /src/crypto.h | |
| parent | 560e7e1f38cdbfb6394e958a3518729f08374174 (diff) | |
sha1 & reorganizing
Diffstat (limited to 'src/crypto.h')
| -rw-r--r-- | src/crypto.h | 8 |
1 files changed, 6 insertions, 2 deletions
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} }; |
