sjcl
sjcl copied to clipboard
Uncaught BUG when calling sjcl.random.startCollectors()
Full details:
Uncaught BUG: random: addEntropy only supports number, array of numbers or string sjcl.js:2337
sjcl.prng.addEntropy sjcl.js:2337
sjcl.prng._accelerometerCollector sjcl.js:2562
(anonymous function) sjcl.js:2459
Since I've compiled my own library, the line numbers are quite meaningless, so I'll map them to the actual code:
I'm getting this in Chrome 31.0.1650.57 on Ubuntu 13.10
That is kind of awkward but I might have an idea what is causing it.
ok, I am pretty sure now. The problem lies in L416. If the orientation is not available it will be a string and the addEntropy function will spit an error because it only accepts arrays of numbers.
:+1: