Skip to content
Snippets Groups Projects
Commit 68e043e1 authored by Nicolas Werner's avatar Nicolas Werner
Browse files

hide encoding helpers

parent 54327e8a
No related branches found
No related tags found
No related merge requests found
#include <array>
#include <string>
#include <vector>
namespace {
template<std::size_t N, std::size_t... Is>
constexpr std::array<char, N - 1>
to_array(const char (&a)[N], std::index_sequence<Is...>)
......@@ -163,6 +165,7 @@ decode_base64(const std::array<uint8_t, 256> &reverse_alphabet, const std::strin
return decoded;
}
}
namespace mtx {
namespace crypto {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment