added exportKey to capabilities check
This commit is contained in:
parent
9501bf7270
commit
4fabd539d1
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue