Use crypto.getRandomValues in Workers

This commit is contained in:
Daniel Huigens 2018-04-16 16:09:07 +02:00
parent d785df3325
commit 20a9bccb41

View File

@ -28,7 +28,7 @@
* @module worker/worker
*/
self.window = {}; // to make UMD bundles work
self.window = self; // to make UMD bundles work
importScripts('openpgp.js');
var openpgp = window.openpgp;