mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-04 15:50:42 -07:00
15 lines
274 B
C++
15 lines
274 B
C++
#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);
|
|
}
|