Metadata-Version: 2.1
Name: thc
Version: 0.1.2
Summary: Trustable homomorphic computation
Home-page: https://pablo.rauzy.name/software.html#thc
Author: Pablo Rauzy
Author-email: pr_NOSPAM@up8.edu
License: GNU AGPL v3+
Description: Trustable homomorphic computation
        =================================
        
        THC is a Python package that provides a practical framework for cost-effective trustable homomorphic computation.
        
        It leverages the *modular extension* technique, which was developed to protect embedded cryptographic implementations against fault injection attacks, to ensure the integrity of a computation delegated to an untrusted third-party.
        
        ## Installation
        
        You can either install THC from [PyPI](https://pypi.org/project/thc/) using pip with the following command:
        
            $ pip3 install thc
        
        Or you can download its [source code](https://code.up8.edu/pablo/thc) and run the following command in the root directory of the repository:
        
            $ pip3 install .
        
        You can check that the installation went well by running the included test demo:
        
            $ python3 -m thc.demo.faults
        
        ## Dependencies
        
        THC depends on the [pycrypto](https://pypi.org/project/pycrypto/) package to generate prime numbers.
        
        You can probably install it using your distribution's package manager: it's the `python3-crypto` package on Debian and derivatives.
        
        If you choose to let pip install `pycrypto`, you will need to have some Python development package installed as it needs to compile C extensions.
        On Debian and derivatives, the necessary packages are named `python3-dev` and `python3-wheel`.
        
        ## Demo
        
        In addition to the previously mentioned test demo of THC, an electronic voting software (server and client) is provided in the `thc.demo.evoting` package.
        
        Please refer to its [README](https://code.up8.edu/pablo/thc/-/tree/master/thc/demo/evoting) for more information.
        
Platform: UNKNOWN
Description-Content-Type: text/markdown
Provides-Extra: evoting
