Code Monkey home page Code Monkey logo

Comments (6)

lt avatar lt commented on August 27, 2024

Thanks, I know about this.

When I decided I didn't care about a 32-bit implementation I updated the code but ignored the tests (the tests were kind of pointless anyway for the most part). I'll find some good vectors to test against one day, but these projects are not a priority for me right now.

from php-curve25519.

bantu avatar bantu commented on August 27, 2024

@lt It sounds like you're not actively maintaining this implementation. How would you generally feel about having this in phpseclib instead? https://github.com/phpseclib/phpseclib

from php-curve25519.

lt avatar lt commented on August 27, 2024

Hey @bantu

It's MIT licensed, feel free to do what you want with it :) - I will never make this PHP 4 compatible or revert to the BigInteger library, so you'll have to fork it anyway to match your projects goals, regardless of whether I maintain it.

Also, these tests are pretty bad, I didn't know what to test and couldn't find any reference tests, so when I had a working implementation (before optimising), I just took some known outputs from various functions to make sure optimising didn't break anything.

Add a watch to this repo, and you'll see if I ever update it, and you can copy changes if you feel like it.

from php-curve25519.

bantu avatar bantu commented on August 27, 2024

I will never make this PHP 4 compatible or revert to the BigInteger library, so you'll have to fork it anyway to match your projects goals, regardless of whether I maintain it.

I think the implementation is perfectly fine. phpseclib 2.0 will require PHP 5.3.3, so it would basically be replacing [] with array()

Add a watch to this repo, and you'll see if I ever update it, and you can copy changes if you feel like it.

This is something I would rather want to avoid. Hence the question.

from php-curve25519.

lt avatar lt commented on August 27, 2024

I didn't realise there was a 2.0 in the works (I guess it's the php5 branch). Perhaps I will take a look and see where I can speed things up :)

from php-curve25519.

lt avatar lt commented on August 27, 2024

Tests are working again, added a new vector from the NaCL lib.

from php-curve25519.

Related Issues (7)

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.