mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-24 08:41:26 -04:00
added function for generating random ascii strings, and improved the test program to test for this as well
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3992 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
13132fe248
commit
25056b3623
3 changed files with 18 additions and 1 deletions
|
@ -44,6 +44,8 @@ class RSRandom
|
|||
|
||||
static bool seed(uint32_t s) ;
|
||||
|
||||
static std::string random_alphaNumericString(uint32_t length) ;
|
||||
|
||||
private:
|
||||
static RsMutex rndMtx ;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue