From f62abec837081b7508fbcd9c4531d9ee17904b3b Mon Sep 17 00:00:00 2001 From: Alan Shaw Date: Sun, 28 Oct 2018 17:18:10 +0000 Subject: [PATCH] fix: remove broken and intested private key decrypt License: MIT Signed-off-by: Alan Shaw --- src/keys/rsa-class.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/keys/rsa-class.js b/src/keys/rsa-class.js index 1f566c03..e2641361 100644 --- a/src/keys/rsa-class.js +++ b/src/keys/rsa-class.js @@ -70,10 +70,6 @@ class RsaPrivateKey { return new RsaPublicKey(this._publicKey) } - decrypt (msg, callback) { - crypto.decrypt(this._key, msg, callback) - } - marshal () { return crypto.utils.jwkToPkcs1(this._key) }