Added 2 new password generator options

git-svn-id: https://svn.code.sf.net/p/keepassx/code/trunk@227 b624d157-de02-0410-bad0-e51aec6abb33
This commit is contained in:
sniperbeamer
2008-09-30 14:26:24 +00:00
parent 598d204716
commit a5d427d262
12 changed files with 383 additions and 307 deletions

View File

@@ -33,10 +33,12 @@ extern "C" {
#endif
void getEntropy(quint8* buffer, int length);
quint32 randint(quint32 n);
quint32 randint(quint32 limit); // generate random number: 0 <= n < limit
#ifdef __cplusplus
}
#endif
quint32 randintRange(quint32 min, quint32 max); // generate random number: min <= n <= max
#endif