Giter Site home page Giter Site logo

Add DH and RSA about rust-crypto HOT 6 OPEN

dagenix avatar dagenix commented on September 18, 2024
Add DH and RSA

from rust-crypto.

Comments (6)

mtahmed avatar mtahmed commented on September 18, 2024

I can help out with DH. If there's a working branch for DH, I can contribute to it.

from rust-crypto.

DaGenix avatar DaGenix commented on September 18, 2024

Thanks for the offer! Right now, though, I don't have anything that's in a state that is ready to be contributed to. My current strategy is to port tomsfastmatch (https://github.com/libtom/tomsfastmath) to use for (hopefully) fast modular exponentiation, but I haven't made a whole lot of progress yet due to a lack of time. If I get things to a state where its possible for others to contribute, I'll post a branch and update this thread.

from rust-crypto.

calvinmetcalf avatar calvinmetcalf commented on September 18, 2024

for both of these things the blocker is a good big number lib with the Montgomery reduction is key (for rsa another blocker is you have to deal with asn1 encoding).

from rust-crypto.

DaGenix avatar DaGenix commented on September 18, 2024

I'm making (slow) progress on my port of tomsfastmath. I still don't have anything worth posting, but, i'm getting close to getting modular exponentiation to work, I think. Once I have something thats somewhat near readable, I'll update this and post what I have.

from rust-crypto.

suhr avatar suhr commented on September 18, 2024

Any changes here?

from rust-crypto.

DaGenix avatar DaGenix commented on September 18, 2024

On my end? Not really. I've been quite busy at work over the last few months and its hard to program 8 - 10 hours during the day and then jump into more programming at night.

I have a kinda working port of tomsfastmatch into Rust in a semi-workable state. I haven't pushed the code yet since both the code the commit history is extremely messy. If someone is exceptionally interested, what I have right now is at https://github.com/DaGenix/rust-crypto-working/tree/dh in the file src/bignum/mod.rs.

This issue has been open for quite a while. As I said, my time is limited so I don't want to discourage someone else from tackling the problem - if someone else is interested in working on this problem as well, it would be nice to try to coordinate here. What I can do, is to try to get this code cleaned up a little bit and at least put into a reasonable working branch, but, that will probably take me a few days.

from rust-crypto.

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.