Compare commits
No commits in common. "master" and "v1.3.0" have entirely different histories.
@ -20,4 +20,7 @@ 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);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -19,4 +19,7 @@ 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);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -61,4 +61,7 @@ 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);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user