4 ms·
SJCL fills its initial entropy pool with crypto.getRandomValues()
by absherwin 13y ago
SJCL fills its initial entropy pool with crypto.getRandomValues()
- nwh 13y agoApologies, 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.
- absherwin 13y agoNP. 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.