horcrux/src/utils.h

15 lines
366 B
C
Raw Normal View History

2020-12-12 14:36:38 +00:00
#ifndef HORCRUX_SRC_UTILS_H
#define HORCRUX_SRC_UTILS_H
2020-12-11 11:38:02 +00:00
#include <string>
#include <vector>
2020-12-12 21:19:10 +00:00
#include <filesystem>
2020-12-11 11:38:02 +00:00
2020-12-12 21:19:10 +00:00
namespace horcrux {
2020-12-11 11:38:02 +00:00
std::string to_base64(const std::vector<unsigned char>& binary);
std::vector<unsigned char> from_base64(const std::string& base64);
std::vector<unsigned char> generate_random(const size_t buf_len);
}
2020-12-12 14:36:38 +00:00
#endif //HORCRUX_SRC_UTILS_H