Skip to content
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.

Commit

Permalink
fix: remove broken and intested private key decrypt
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>
  • Loading branch information
Alan Shaw committed Oct 28, 2018
1 parent 371bd05 commit f62abec
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/keys/rsa-class.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit f62abec

Please sign in to comment.