Updates an RNG seed file.
Public Declare Function RNG_UpdateSeedFile Lib "diCrPKI.dll" (ByVal strSeedFile As String, ByVal nOptions As Long) As Long
nRet = RNG_UpdateSeedFile(strSeedFile, nOptions)
long __stdcall RNG_UpdateSeedFile(const char *szSeedFile, long nOptions);
If successful, the return value is zero; otherwise it returns a nonzero error code.
static int dipki::Rng::UpdateSeedFile (const std::string &seedFile)
static Rng.update_seedfile(seedfilename)
This writes a fresh set of random data to the seed file. The seed file must be writable by the user. Use this function at periodic intervals or when exiting your application. If the file does not exist it will be created. Any existing file of the same name will be overwritten without warning.
See the example in RNG_Initialize
.
RNG_Initialize RNG_MakeSeedFile