Giter VIP home page Giter VIP logo

Comments (2)

pcaro90 avatar pcaro90 commented on May 10, 2024

Well, those operations are using the method __pow__ from the BinPol (Binary Polinomy) class, which is implemented as an iterative multiplication. This is absolutely inefficient! However, it's the most intuitive way to do it.

Please, have in mind this is not intended as production-ready code, just as a crypto demo/toy. If someone is able to improve the __pow__ code and send a pull request, I'll be more than happy to integrate it. However, at least for me, speed it's not within the scope of this project, so I'm afraid I won't improve it.

Sorry!

from python-aes-base.

sebma avatar sebma commented on May 10, 2024

Found this implementation, it not readable like yours but it could help.

from python-aes-base.

Related Issues (1)

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.