move secure random code

This commit is contained in:
Glenn Maynard
2006-12-20 23:17:57 +00:00
parent b8cb44c0be
commit ea7e48e08e
3 changed files with 24 additions and 7 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ public:
static bool VerifyFileWithFile( RString sPath, RString sSignatureFile = "" );
static bool VerifyFileWithFile( RString sPath, RString sSignatureFile, RString sPublicKeyFile );
static RString Sign( RString sPath );
static void GetRandomBytes( void *pData, int iBytes );
static RString GetMD5ForFile( RString fn ); // in Hex
static RString GetMD5ForString( RString sData ); // in Hex