Files
itgmania212121/stepmania/src/CryptManager.h
T

23 lines
504 B
C++
Raw Normal View History

2004-02-15 04:47:32 +00:00
#ifndef CryptManager_H
#define CryptManager_H
class CryptManager
{
public:
CryptManager();
~CryptManager();
static void GenerateRSAKey(unsigned int keyLength, const char *privFilename, const char *pubFilename, const char *seed );
2004-02-15 04:47:32 +00:00
static void SignFile( CString sPath );
static bool VerifyFile( CString sPath );
static void DigestFile(const char *filename);
2004-02-16 05:35:06 +00:00
static CString GetPublicKeyFileName();
2004-02-15 04:47:32 +00:00
};
extern CryptManager* CRYPTMAN; // global and accessable from anywhere in our program
2004-02-15 04:47:32 +00:00
#endif