[Webkit-unassigned] [Bug 22049] WebKit should have a cryptographic RNG
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Feb 4 14:42:08 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=22049
--- Comment #4 from Ivan Krasin <krasin at google.com> 2011-02-04 14:42:08 PST ---
Created an attachment (id=81287)
--> (https://bugs.webkit.org/attachment.cgi?id=81287&action=review)
The first version of crypto.getRandom{Float32,Uint8}Array().
This is a patch that adds window.crypto.getRandomFloat32Array(length) and window.crypto.getUint8Array(length)
Currently, it misses two important parts:
1. The intent to make window.crypto === undefined on the platforms where WTF::randomNumber is not secure
2. Make WTF::randomNumber secure on Linux if /dev/random or /dev/urandom available for initial seed
Ivan Krasin
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list