added exportKey to capabilities check
This commit is contained in:
parent
9501bf7270
commit
4fabd539d1
|
@ -8,6 +8,7 @@ async function checkCrypto() {
|
||||||
true,
|
true,
|
||||||
['encrypt', 'decrypt']
|
['encrypt', 'decrypt']
|
||||||
);
|
);
|
||||||
|
await crypto.subtle.exportKey('raw', key);
|
||||||
await crypto.subtle.encrypt(
|
await crypto.subtle.encrypt(
|
||||||
{
|
{
|
||||||
name: 'AES-GCM',
|
name: 'AES-GCM',
|
||||||
|
|
Loading…
Reference in New Issue