We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64bfe85 commit 2485218Copy full SHA for 2485218
crypto.bench.ts
@@ -4,7 +4,7 @@ import { setup } from "./_test_util.ts";
4
5
const kv = await setup();
6
7
-const fixture = window.crypto.getRandomValues(new Uint8Array(65_536));
+const fixture = globalThis.crypto.getRandomValues(new Uint8Array(65_536));
8
const encryptionKey128 = generateKey(128);
9
const cryptoKv128 = new CryptoKv(kv, encryptionKey128);
10
const encryptionKey192 = generateKey(192);
0 commit comments