diff options
| author | ame <[email protected]> | 2023-10-24 23:51:50 -0500 |
|---|---|---|
| committer | ame <[email protected]> | 2023-10-24 23:51:50 -0500 |
| commit | deacfd0e3ca66c3dd29cf4ff6fdaedcc184d101f (patch) | |
| tree | 185cdaabc7923dc8444e4afee185f94a1e19c160 /src/crypto.h | |
| parent | b40dc47dc4ae453674ec7b31f04aaf1b911010aa (diff) | |
sha2xx
Diffstat (limited to 'src/crypto.h')
| -rw-r--r-- | src/crypto.h | 6 |
1 files changed, 5 insertions, 1 deletions
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} }; |
