Description
SEAL-Python is a Python binding for Microsoft SEAL 4.x, a homomorphic encryption library developed by the Cryptography Research group at Microsoft and released under the MIT license. Homomorphic encryption lets you run computations on encrypted data. The binding is built with pybind11, a header-only library that exposes C++ types to Python. The package is available on PyPI. For building from source, the README gives steps for Linux, macOS and Windows. You pull the SEAL git submodule, install numpy and pybind11, build the SEAL library with CMake with the optional MSGSL, zlib and zstd compression turned off, and then build the Python extension with setup.py. On macOS the README asks you to use the same deployment target for the SEAL library and the Python extension to avoid linker warnings. Windows builds use a Visual Studio developer prompt with Ninja. The repository includes example scripts, such as a BGV basics example, that you can run once the extension is built. The README also has sections on typing, serialization and an FAQ. It suits Python developers and researchers who want to experiment with homomorphic encryption.…
Highlights
- Python binding for Microsoft SEAL 4.x
- Installable from PyPI
- Built with pybind11
- Example scripts such as BGV basics
- Build steps for Linux, macOS and Windows
Ratings & Reviews
No ratings yet
Be the first to rate SEAL-Python.
People also visit
SEAL-Python FAQ
What is SEAL-Python?
A Python binding for Microsoft SEAL 4.x, a homomorphic encryption library.
What does homomorphic encryption allow?
Computing on encrypted data, so the values do not have to be decrypted first. The README describes SEAL as an easy-to-use library for this.
How do I install it?
Install it from PyPI as described in the README. To build from source, check out the SEAL submodule and run the CMake and setup.py steps.
What does it depend on?
numpy and pybind11 for the build, plus the SEAL library, which is pulled in as a git submodule.
What license is SEAL under?
The README says Microsoft SEAL is MIT licensed.
What are the best SEAL-Python alternatives?
Popular alternatives to SEAL-Python include Fully Homomorphic Encryption, Xelis Blockchain and Encpipe. See all SEAL-Python alternatives