aboutsummaryrefslogtreecommitdiff
path: root/src/crypto.h
diff options
context:
space:
mode:
authorame <[email protected]>2023-12-25 15:10:09 -0600
committerame <[email protected]>2023-12-25 15:10:09 -0600
commitddb25e94961f0eb9f5f615db83b316d3c222da81 (patch)
treec9cee3eafcf00053952e7965bf47feaf828dfd30 /src/crypto.h
parent086f2b9ee90c72d73513b5b0e2488aa8999b2b00 (diff)
arbitrary base convertions
Diffstat (limited to 'src/crypto.h')
-rw-r--r--src/crypto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/crypto.h b/src/crypto.h
index fc1101e..564ea58 100644
--- a/src/crypto.h
+++ b/src/crypto.h
@@ -28,6 +28,7 @@
#include "encode/uuencode.h"
#include "encode/base64.h"
+#include "encode/baseN.h"
unsigned i_lr(unsigned, unsigned);
unsigned i_rr(unsigned, unsigned);
@@ -63,6 +64,7 @@ static const luaL_Reg crypto_function_list [] = {
{"base64encode",l_base64encode},
{"base64decode",l_base64decode},
+ {"baseconvert",l_baseconvert},
{NULL,NULL}
};