Of the use of unpredictableSeed

sarn via Digitalmars-d digitalmars-d at puremagic.com
Tue Mar 21 15:11:44 PDT 2017


On Tuesday, 21 March 2017 at 10:27:27 UTC, Andrei Alexandrescu 
wrote:
> Thanks Yuxuan, sorry for missing this. Can we have this peer 
> reviewed by 1-2 crypto experts? Thanks! -- Andrei

By API, unpredictableSeed() only returns a 32b uint and will 
never meet crypto standards.  Beware of anyone who offers to 
review it based on their "crypto expertise".

unpredictableSeed() is just for things like making single-player 
games more interesting.  It simply isn't for security, and that's 
pretty much what cym13's post was about.


More information about the Digitalmars-d mailing list