Skip to content

Commit 3bdee0a

Browse files
committed
trying directly with webcrypto
1 parent 5c1dfee commit 3bdee0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ exports.privateDecrypt = publicEncrypt.privateDecrypt
9090

9191
var { Crypto } = require('@peculiar/webcrypto');
9292
var crypto = new Crypto();
93-
exports.subtle = crypto.subtle;
93+
exports.webcrypto = crypto;
9494

9595
var rf = require('randomfill')
9696

0 commit comments

Comments
 (0)