Facy random seed for qrand in kdelibs

Ivan Čukić ivan.cukic at kde.org
Mon Aug 2 17:07:44 BST 2010


>>>      seed = rand() + time( 0 );

I don't like the use of addition here, would rather go for something XOR-based

Cheerio


p.s. This was said with my old and dusty "cryptography enthusiast" hat on

-- 
Cheerio,
Ivan

--
While you were hanging yourself on someone else's words
Dying to believe in what you heard
I was staring straight into the shining sun




More information about the kde-core-devel mailing list