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

feat(rsa): always use the fastest method available for rsa keygeneration #10

Closed
wants to merge 1 commit into from

Conversation

dignifiedquire
Copy link
Member

@dignifiedquire dignifiedquire commented Sep 13, 2016

BREAKING CHANGE: generateKeyPair is now async

Simple secio benchmarks of key gen, (node.js)

  • before this change: 0.27 ops/sec
  • after this change (with ursa): 8.47 ops/sec
  • after this change (without ursa): 0.52 ops/sec

Fixes #9

@@ -2,7 +2,7 @@
"name": "libp2p-crypto",
"version": "0.6.1",
"description": "Crypto primitives for libp2p",
"main": "lib/index.js",
"main": "src/index.js",
Copy link
Member Author

@dignifiedquire dignifiedquire Sep 13, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Todo: revert before merge

@dignifiedquire
Copy link
Member Author

Closing in favor of #12

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants