15 lines
327 B
C
15 lines
327 B
C
|
|
#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
|