Code Monkey home page Code Monkey logo

Comments (5)

indutny avatar indutny commented on July 20, 2024

Nice! Do you feel like you might be interested in contributing this?

from elliptic.

wanderer avatar wanderer commented on July 20, 2024

@indutny if you don't mind me being slow and bugging you. :P

from elliptic.

wanderer avatar wanderer commented on July 20, 2024

from section 4.1.6 Public Key Recovery Operation

  1. Let x = r + jn.
  2. Convert the integer x to an octet string X of length mlen using the conversion routine
    specified in Section 2.3.7, where mlen = d(log2 p)/8e or mlen = dm/8e.
  3. Convert the octet string 0216kX to an elliptic curve point R using the conversion routine
    specified in Section 2.3.4. If this conversion routine outputs “invalid”, then do another
    iteration of Step 1.
  4. If nR 6= O, then do another iteration of Step 1.
  5. Compute e from M using Steps 2 and 3 of ECDSA signature verification.
  6. For k from 1 to 2 do the following.
    1. Compute a candidate public key as:
      Q = r−1(sR − eG).
    2. Verify that Q is the authentic public key. (For example, verify the signature of a
      certification authority in a certificate which has been truncated by the omission of
      Q from the certificate.) If Q is authenticated, stop and output Q.
    3. Change R to −R.

from elliptic.

wanderer avatar wanderer commented on July 20, 2024

WIP RP #37

from elliptic.

wanderer avatar wanderer commented on July 20, 2024

landed in 3.1.0!

from elliptic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.