diff options
author | Sergey Yershov <syershov@maps.me> | 2016-11-16 17:23:55 +0300 |
---|---|---|
committer | Sergey Yershov <syershov@maps.me> | 2016-11-17 13:27:23 +0300 |
commit | d9e4a1b1a28fc888ca0b1a333c6a1b49a52fb6ce (patch) | |
tree | 31a563d73b7562082b4f26e2b2ed05e70ccc0a18 /coding/base64.hpp | |
parent | 19600faf61beb3a36b02ccb458eaffa0a39edb17 (diff) |
Remove dependencies on tomcrypt
Diffstat (limited to 'coding/base64.hpp')
-rw-r--r-- | coding/base64.hpp | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/coding/base64.hpp b/coding/base64.hpp index c73f24ed40..80f6d540df 100644 --- a/coding/base64.hpp +++ b/coding/base64.hpp @@ -1,22 +1,9 @@ #pragma once -#include "std/vector.hpp" #include "std/string.hpp" namespace base64 { - string Encode(string const & bytesToEncode); string Decode(string const & base64CharsToDecode); - -} - -/// This namespace contains historically invalid implementation of base64, -/// but it's still needed for production code -namespace base64_for_user_ids -{ - -string encode(string rawBytes); -string decode(string const & base64Chars); - -} +} // namespace base64 |