From ddb25e94961f0eb9f5f615db83b316d3c222da81 Mon Sep 17 00:00:00 2001 From: ame Date: Mon, 25 Dec 2023 15:10:09 -0600 Subject: arbitrary base convertions --- src/crypto.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/crypto.h') 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} }; -- cgit v1.2.3