added exportKey to capabilities check

This commit is contained in:
Danny Coates 2018-07-31 15:10:12 -07:00
parent 9501bf7270
commit 4fabd539d1
No known key found for this signature in database
GPG Key ID: 4C442633C62E00CB

View File

@ -8,6 +8,7 @@ async function checkCrypto() {
true,
['encrypt', 'decrypt']
);
await crypto.subtle.exportKey('raw', key);
await crypto.subtle.encrypt(
{
name: 'AES-GCM',