diff options
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} }; |
