use elliptic curves instead of rsa #10

Open
dominictarr opened this Issue Feb 1, 2014 · 0 comments

Comments

Projects
None yet
1 participant
Collaborator

dominictarr commented Feb 1, 2014

There are two problems with RSA that affect it's usability,

  1. it takes a long time to compute a private key (search for 2 random, unique, large prime numbers) which will block a cpu for a few seconds, especially in JS.
    2 the keys are the signatures are quite large. You can't tweet a public key or a signature, because it's hundreds of characters large.

Elliptic curves on the other hand,

  1. are fast to generate, because a private key is just a large random number, which is then multiplied by a point on a elliptic curve.
  2. take way less space - like a 256 bit ecc keys is the same level of security as a 3k bit RSA key. A signature or public key would be relatively managable in a URL, even.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment