Skip to content

Commit

Permalink
chore: update crypto bench
Browse files Browse the repository at this point in the history
  • Loading branch information
kitsonk committed Sep 5, 2024
1 parent 64bfe85 commit 2485218
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto.bench.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { setup } from "./_test_util.ts";

const kv = await setup();

const fixture = window.crypto.getRandomValues(new Uint8Array(65_536));
const fixture = globalThis.crypto.getRandomValues(new Uint8Array(65_536));
const encryptionKey128 = generateKey(128);
const cryptoKv128 = new CryptoKv(kv, encryptionKey128);
const encryptionKey192 = generateKey(192);
Expand Down

0 comments on commit 2485218

Please sign in to comment.