From 3bdee0aba8047bb963959fdc395de33b2cca6552 Mon Sep 17 00:00:00 2001 From: Matei Aruxandei Date: Sun, 19 Nov 2023 19:21:55 +0000 Subject: [PATCH] trying directly with webcrypto --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 0b00ea4..3f2da24 100644 --- a/index.js +++ b/index.js @@ -90,7 +90,7 @@ exports.privateDecrypt = publicEncrypt.privateDecrypt var { Crypto } = require('@peculiar/webcrypto'); var crypto = new Crypto(); -exports.subtle = crypto.subtle; +exports.webcrypto = crypto; var rf = require('randomfill')