[cryptography] javascript random function

Ryan Carboni ryacko at gmail.com
Thu Dec 18 22:57:40 EST 2014


It depends on the browser.

Most (probably all) browsers do not use a cryptographically secure function
for the random function.

If you have to generate a large number of cryptographic random numbers, use
XTEA or a WebGL implementation of XTEA.

On Thu, Dec 18, 2014 at 7:53 PM, Givon Zirkind <givonne at gmx.com> wrote:
>
> does anyone have info on how good or what weaknesses, the javascript
> random is/has?
>
> does it work off a formula, that if u knew the formula, u could figure out
> the random number generated?
>
> thanks.
> _______________________________________________
> cryptography mailing list
> cryptography at randombit.net
> http://lists.randombit.net/mailman/listinfo/cryptography
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.randombit.net/pipermail/cryptography/attachments/20141218/12e91fc5/attachment.html>


More information about the cryptography mailing list