aboutsummaryrefslogtreecommitdiff
path: root/src/crypto.h
diff options
context:
space:
mode:
authorame <[email protected]>2023-10-24 23:51:50 -0500
committerame <[email protected]>2023-10-24 23:51:50 -0500
commit27c33caa85a3f61686ceae7bf555817d69df9c84 (patch)
tree185cdaabc7923dc8444e4afee185f94a1e19c160 /src/crypto.h
parentc177b7a0ec55307e4f1352ca8b68c3e059c2add6 (diff)
sha2xx
Diffstat (limited to 'src/crypto.h')
-rw-r--r--src/crypto.h6
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}
};