News for hackers. Stuff that matters.
Re:Challenge HN: Break my in-browser crypto for $1000 by absherwin on Wednesday May 29, 2013 @01:36PM (#5787758)
SJCL fills its initial entropy pool with crypto.getRandomValues()
Re:Challenge HN: Break my in-browser crypto for $1000 by nwh on Wednesday May 29, 2013 @01:41PM (#5787782)
Apologies, I missed that on first glance. I'm not sure why you'd want to run your CSRNG through a bunch of additional functions, at best you're doing nothing, at worst you're reducing the quality of the entropy.
Re:Challenge HN: Break my in-browser crypto for $1000 by absherwin on Wednesday May 29, 2013 @01:46PM (#5787808)
NP. Checking code is a good. It's not the clearest code since the initialization is located separately from the main RNG function. If you actually tried to read the inline minified version of SJCL, I'm sorry but impressed.