mceliece | Simple python implementation of McEliece cryptosystem | Cryptography library

 by   jkrauze Python Version: Current License: MIT

kandi X-RAY | mceliece Summary

kandi X-RAY | mceliece Summary

mceliece is a Python library typically used in Security, Cryptography, Bitcoin applications. mceliece has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can download it from GitHub.

Simple python implementation of McEliece cryptosystem. To install all required dependencies run following command. If you have issues running it on Ubuntu try to follow this steps:
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              mceliece has a low active ecosystem.
              It has 10 star(s) with 8 fork(s). There are 4 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 0 open issues and 4 have been closed. On average issues are closed in 43 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of mceliece is current.

            kandi-Quality Quality

              mceliece has 0 bugs and 41 code smells.

            kandi-Security Security

              mceliece has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              mceliece code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              mceliece is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              mceliece releases are not available. You will need to build from source code and install.
              Build file is available. You can build the component from source.
              Installation instructions are not available. Examples and code snippets are available.
              It has 828 lines of code, 131 functions and 8 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed mceliece and discovered the below as its top functions. This is intended to give you an instant insight into mceliece implemented functionality, and help decide if they suit your requirements.
            • Decrypt data from a private key file
            • Decrypts a message array
            • Decodes a matrix representation of a given matrix
            • R rref
            • Generate a random key pair
            • Find the first power of a polynomial polynomial
            • Generate a polynomial
            • Generate random keys
            • Encrypt the input array with the given key
            • Pad an array with padding
            • Encrypt a message array
            • Inverse of the inverse matrix
            • Creates a GF2Matrix from a list
            • Return the square root of the ring
            Get all kandi verified functions for this library.

            mceliece Key Features

            No Key Features are available at this moment for mceliece.

            mceliece Examples and Code Snippets

            No Code Snippets are available at this moment for mceliece.

            Community Discussions

            QUESTION

            Botan MC-Eliece implementation fails because of deprecated implementation example
            Asked 2020-Sep-01 at 10:07

            I have problems with my c++ mc-eliece implementation from Botan crypto library. There seems to be virtually only one example of it in the whole internet, with a link to it.

            https://www.cryptosource.de/docs/mceliece_in_botan.pdf

            But this example is 6 years old, hence it is totally outdated and the Botan docs do not provide any other.

            The problem is basically, that unfortunatelly function names and specs have changed over time, hence i get a couple of compiler errors while i try to use them. I managed to demystify some of them by looking into the header implementations. But now i'm, frankly said, in front of a wall.

            It would be great if anybody familar with the Botan MC-Eliece implementation, could give me a hint, how the current functions are called.

            This is my code with marks. I removed a lot of unnecessary code and other implementations, to make it more readable. You will also not be able to make it run without the necessary modules, but i will try to write it down in a way, that somebody with Botan library should be able to run it.

            ...

            ANSWER

            Answered 2020-Sep-01 at 10:07

            The McEliece unit test can be taken as reference (link).

            Based on that code, your example can be rewritten as follows:

            Source https://stackoverflow.com/questions/63678081

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install mceliece

            You can download it from GitHub.
            You can use mceliece like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/jkrauze/mceliece.git

          • CLI

            gh repo clone jkrauze/mceliece

          • sshUrl

            git@github.com:jkrauze/mceliece.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Cryptography Libraries

            dogecoin

            by dogecoin

            tink

            by google

            crypto-js

            by brix

            Ciphey

            by Ciphey

            libsodium

            by jedisct1

            Try Top Libraries by jkrauze

            ntru

            by jkrauzePython

            bch

            by jkrauzePython

            minicontra

            by jkrauzePython