From d9e4a1b1a28fc888ca0b1a333c6a1b49a52fb6ce Mon Sep 17 00:00:00 2001 From: Sergey Yershov Date: Wed, 16 Nov 2016 17:23:55 +0300 Subject: Remove dependencies on tomcrypt --- coding/base64.hpp | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'coding/base64.hpp') 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 -- cgit v1.2.3