From 67d28867e7f93def51523b69c99ebc65cfbaf6e0 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 1 Aug 2016 14:09:07 -0400 Subject: [PATCH] chimney --- lib/rsa-forge.js | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/lib/rsa-forge.js b/lib/rsa-forge.js index 5d592c8..388152b 100644 --- a/lib/rsa-forge.js +++ b/lib/rsa-forge.js @@ -6,27 +6,6 @@ function notToJson() { return undefined; } -/* -function importPrivateKey(privateKey) { - return forge.pki.rsa.setPrivateKey( - base64ToBn(privateKey.n) - , base64ToBn(privateKey.e) - , base64ToBn(privateKey.d) - , base64ToBn(privateKey.p) - , base64ToBn(privateKey.q) - , base64ToBn(privateKey.dp) - , base64ToBn(privateKey.dq) - , base64ToBn(privateKey.qi) - ); -} - -function importPublicKey(publicKey) { - return forge.pki.rsa.setPublicKey( - base64ToBn(publicKey.n), - base64ToBn(publicKey.e)); -} -*/ - var forgec = module.exports = {