diff options
Diffstat (limited to 'src/crypto.h')
| -rw-r--r-- | src/crypto.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/crypto.h b/src/crypto.h index 27dca51..eff9ffe 100644 --- a/src/crypto.h +++ b/src/crypto.h @@ -4,6 +4,9 @@ #include "hash/sha01.h" #include "hash/sha2xx.h" +#include "encode/uuencode.h" +#include "encode/base64.h" + unsigned i_lr(unsigned, unsigned); unsigned i_rr(unsigned, unsigned); @@ -14,6 +17,13 @@ static const luaL_Reg crypto_function_list [] = { {"sha256",l_sha256}, {"sha224",l_sha224}, + {"uuencode",l_uuencode}, + {"uudecode",l_uudecode}, + + {"base64encode",l_base64encode}, + {"base64decode",l_base64decode}, + + {NULL,NULL} }; |
