mirror of
https://github.com/EvernodeXRPL/hpcore.git
synced 2026-04-29 15:37:59 +00:00
Added config file read/write infrastructure with RapidJSON. Added key pair generation and sign/verify helper with libsodium.
11 lines
229 B
C++
11 lines
229 B
C++
#ifndef _BASE64_H_
|
|
#define _BASE64_H_
|
|
|
|
#include <vector>
|
|
#include <string>
|
|
typedef unsigned char BYTE;
|
|
|
|
std::string base64_encode(BYTE const* buf, unsigned int bufLen);
|
|
std::vector<BYTE> base64_decode(std::string const&);
|
|
|
|
#endif |