Giter Site home page Giter Site logo

createECDH about crypto-browserify HOT 12 CLOSED

browserify avatar browserify commented on June 11, 2024
createECDH

from crypto-browserify.

Comments (12)

dominictarr avatar dominictarr commented on June 11, 2024

Oh, I did not know that node 11 had that!
hmm, would be awesome if it also had createSign and createVerify for elliptic curves

from crypto-browserify.

calvinmetcalf avatar calvinmetcalf commented on June 11, 2024

good thing that library has that ability

from crypto-browserify.

calvinmetcalf avatar calvinmetcalf commented on June 11, 2024

wait you were talking about node which does not (at the moment in it's docs)

On Wed, Nov 5, 2014 at 7:23 AM, Dominic Tarr [email protected]
wrote:

Oh, I did not know that node 11 had that!
hmm, would be awesome if it also had createSign and createVerify for
elliptic curves


Reply to this email directly or view it on GitHub
#63 (comment)
.

-Calvin W. Metcalf

from crypto-browserify.

calvinmetcalf avatar calvinmetcalf commented on June 11, 2024

actually I take that back it appears you can use eliptic curves to sign in 0.10! (verified locally) nodejs/node-v0.x-archive#6904 (comment)

from crypto-browserify.

dominictarr avatar dominictarr commented on June 11, 2024

Hmm, oh this is very good,
but it seems like it is only EHDSA with sha1... which is being depreciated.
hmm, also we have crypto.getCiphers and crypto.getHashes but no crypto.getSigners.

from crypto-browserify.

calvinmetcalf avatar calvinmetcalf commented on June 11, 2024

do you think it's a good idea to add createECDH to the current dh pull (and do the sign/verify stuff latter on) or do it in a separate one'?

from crypto-browserify.

dominictarr avatar dominictarr commented on June 11, 2024

I added this: nodejs/node-v0.x-archive#6268

from crypto-browserify.

dominictarr avatar dominictarr commented on June 11, 2024

well, although DiffieHellman and ECDH basically do the same thing they do it in totally different ways, so I think it should be separate PRs.

from crypto-browserify.

calvinmetcalf avatar calvinmetcalf commented on June 11, 2024

I was more thinking in terms of whether to put it in the same module as much of the code is just converting between bn.js arrays and buffers which would end up being the same

from crypto-browserify.

dominictarr avatar dominictarr commented on June 11, 2024

aha! that should be a third module, or a pull request to bn.js

from crypto-browserify.

calvinmetcalf avatar calvinmetcalf commented on June 11, 2024

https://github.com/calvinmetcalf/createECDH

from crypto-browserify.

calvinmetcalf avatar calvinmetcalf commented on June 11, 2024

er to expand (didn't mean to hit enter so quickly) preliminary ecdh, likely not worth bringing in until 0.12 though.

The eliptical library uses it's own source of randomness which I am able to override but it's still in there as a dep, also uses it's own hash library, debating if it would make sense to do a fork with our specific needs.

Additionally only has one curve in common with openssl, but from what I can tell open ssl has a fairly poor choice of curves.

from crypto-browserify.

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.