aboutsummaryrefslogtreecommitdiff
path: root/src/hash/sha2xx.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
commitdeacfd0e3ca66c3dd29cf4ff6fdaedcc184d101f (patch)
tree185cdaabc7923dc8444e4afee185f94a1e19c160 /src/hash/sha2xx.h
parentb40dc47dc4ae453674ec7b31f04aaf1b911010aa (diff)
sha2xx
Diffstat (limited to 'src/hash/sha2xx.h')
-rw-r--r--src/hash/sha2xx.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/hash/sha2xx.h b/src/hash/sha2xx.h
new file mode 100644
index 0000000..cfd64ac
--- /dev/null
+++ b/src/hash/sha2xx.h
@@ -0,0 +1,8 @@
+#include "../lua.h"
+
+enum version {
+ sha256, sha224
+};
+
+int l_sha256(lua_State*);
+int l_sha224(lua_State*);