|
@ -20,7 +20,4 @@ module.exports = function (bitlen, exp) { |
|
|
if (require.main === module) { |
|
|
if (require.main === module) { |
|
|
var keypair = module.exports(2048, 0x10001); |
|
|
var keypair = module.exports(2048, 0x10001); |
|
|
console.info(keypair.privateKeyPem); |
|
|
console.info(keypair.privateKeyPem); |
|
|
console.warn(keypair.publicKeyPem); |
|
|
|
|
|
//console.info(keypair.privateKeyJwk);
|
|
|
|
|
|
//console.warn(keypair.publicKeyJwk);
|
|
|
|
|
|
} |
|
|
} |
|
|