aboutsummaryrefslogtreecommitdiff
path: root/src/base64.h
diff options
context:
space:
mode:
authorCiaran Gultnieks <ciaran@ciarang.com>2011-05-20 20:28:03 +0100
committerCiaran Gultnieks <ciaran@ciarang.com>2011-05-20 20:28:03 +0100
commitd4d49ee8f4d425e7a4136d65f519728869680951 (patch)
tree432202d226ebf03de47210ea5172d589815ab47e /src/base64.h
parentb5ceaf445a68b9cda47fbd4246f074aa0a1d3966 (diff)
downloadminetest-d4d49ee8f4d425e7a4136d65f519728869680951.tar.gz
minetest-d4d49ee8f4d425e7a4136d65f519728869680951.tar.bz2
minetest-d4d49ee8f4d425e7a4136d65f519728869680951.zip
Passwords - password entry at main menu, stored and checked by server
Diffstat (limited to 'src/base64.h')
-rw-r--r--src/base64.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/base64.h b/src/base64.h
new file mode 100644
index 000000000..65d5db8b2
--- /dev/null
+++ b/src/base64.h
@@ -0,0 +1,4 @@
+#include <string>
+
+std::string base64_encode(unsigned char const* , unsigned int len);
+std::string base64_decode(std::string const& s);