fix: typo causing runtime error
This commit is contained in:
parent
ae987e1d66
commit
a97eb26fa4
|
|
@ -25,7 +25,7 @@ export async function encryptWithRandomKey(
|
||||||
const cryptoKey = await crypto.subtle.importKey(
|
const cryptoKey = await crypto.subtle.importKey(
|
||||||
"raw",
|
"raw",
|
||||||
key,
|
key,
|
||||||
{ name: " " },
|
{ name: "AES-GCM" },
|
||||||
false,
|
false,
|
||||||
["encrypt"]
|
["encrypt"]
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue