Sign in
chromium
/
chromium
/
blink
/
HEAD
/
.
/
LayoutTests
/
crypto
/
random-values-concurrent.js
blob: 71c07118eae3e4e059ab21de7371354b3ed93164 [
file
] [
log
] [
blame
]
// Compute some random values and reply with it.
var
sample
=
new
Uint8Array
(
100
);
crypto
.
getRandomValues
(
sample
);
self
.
postMessage
(
sample
);