15 lines
327 B
C
Raw Permalink Normal View History

2022-07-30 11:50:01 +08:00
#ifndef SECURE_H
#define SECURE_H
#include <string.h>
#include "SH_MySingleton.hpp"
class Secure: public MySingleton<Secure>
{
public:
Secure();
char *Base64Encode(const unsigned char * bindata, char * base65, int binlength);
int Base64Decode( const char * base64, unsigned char * bindata);
};
#endif // SECURE_H