spicetools/util/crypt.h

15 lines
274 B
C
Raw Permalink Normal View History

2024-08-28 15:10:34 +00:00
#pragma once
#include <cstdint>
#include <cstddef>
#include <string>
namespace crypt {
extern bool INITIALIZED;
void init();
void dispose();
void random_bytes(void *data, size_t length);
std::string base64_encode(const uint8_t *ptr, size_t length);
}