You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since some time, WebKit implements a function called
window.crypto.getRandomValues() that generates cryptographically secure random
values using the operating system's entropy pool. This feature is just now in
the process of being integrated into Gecko, too:
https://bugzilla.mozilla.org/show_bug.cgi?id=440046
The attached patch checks if getRandomValues() and, if available, uses it,
while falling back to Math.random() otherwise. I tested it on both Chromium
(which has getRandomValues) and Firefox (which currently doesn't) and it seems
to work fine, with the right code path being used.
Original issue reported on code.google.com by denis.a....@gmail.com on 10 Jan 2012 at 5:37
Original issue reported on code.google.com by
denis.a....@gmail.com
on 10 Jan 2012 at 5:37Attachments:
The text was updated successfully, but these errors were encountered: