15 lines
366 B
C++
15 lines
366 B
C++
#ifndef HORCRUX_SRC_UTILS_H
|
|
#define HORCRUX_SRC_UTILS_H
|
|
#include <string>
|
|
#include <vector>
|
|
#include <filesystem>
|
|
|
|
namespace horcrux {
|
|
|
|
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);
|
|
|
|
}
|
|
#endif //HORCRUX_SRC_UTILS_H
|