No project description provided
Project description
Sycret
Python library for Function Secret Sharing with an efficient Rust backend using the AES-NI hardware acceleration. It is used in PySyft for ARIANN: Low-Interaction Privacy-Preserving Deep Learning via Function Secret Sharing.
Disclaimer. Sycret is not production-ready yet. It is intended for research and prototyping purposes.
Installation
pip install sycret
Integration with PySyft
The Python package is called from PySyft, like in this branch.
Development instructions
Structure
src: the Rust crate.rustfss: the Python package calling the Rust crate with Maturin.tests: tests for the Rust crate.test: tests for the Python wrapper.
Build
- Create a Python environment from
dev-requirements.txt maturin develop -b cffi --releaseto build the crate, bind it to the Python package and install the package locally.
Test
cargo testto test the Rust functionality.pytest testto test the Python package.
Publish
See docs/publish.md for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sycret-0.2.8-py3-none-win_amd64.whl.
File metadata
- Download URL: sycret-0.2.8-py3-none-win_amd64.whl
- Upload date:
- Size: 136.3 kB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
628090d69127ad6b08c42bf30430a1fb9b97efaee63ae2bdac6fd251375ab840
|
|
| MD5 |
3a55321f3df50c4d098d9ea7adc12ea2
|
|
| BLAKE2b-256 |
d93f6036c8d035716ceb98cc26d12b2b96501d2a4d88d6c081fe0a4bb9e3775a
|
File details
Details for the file sycret-0.2.8-py3-none-manylinux_2_24_x86_64.whl.
File metadata
- Download URL: sycret-0.2.8-py3-none-manylinux_2_24_x86_64.whl
- Upload date:
- Size: 199.8 kB
- Tags: Python 3, manylinux: glibc 2.24+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3889691f4c22273b7b0c2796db4bff5f5266817067986a5dab62dfcee991abf2
|
|
| MD5 |
d0faad6c3970d6cd2e0a1b8da3d1e053
|
|
| BLAKE2b-256 |
8019facef4e57c6f4fbd8bcd8a305ce2a638f40592b57101b1ec23ac62c815c8
|
File details
Details for the file sycret-0.2.8-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: sycret-0.2.8-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 183.0 kB
- Tags: Python 3, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
75a8b3feb1897df53e9f8259e846949582ba04a63aba49c11a49e720014458dd
|
|
| MD5 |
01e615664a9c917f02378531963ef92e
|
|
| BLAKE2b-256 |
1f53efe152b248d77d0257d109d547fcc21f62c1a7e26de06e5a804c773f1a43
|
File details
Details for the file sycret-0.2.8-py3-none-macosx_10_7_x86_64.whl.
File metadata
- Download URL: sycret-0.2.8-py3-none-macosx_10_7_x86_64.whl
- Upload date:
- Size: 181.5 kB
- Tags: Python 3, macOS 10.7+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d4118b517acd6c7f0c20297a3f28dd687ee76ad422a234517b177ec7915e0a8
|
|
| MD5 |
5ee328d7a07ab8e968328ebdac11c8ce
|
|
| BLAKE2b-256 |
0896d602df9c9725b50069063c9d2fba18168b59fb25a2fc5fc4680819204c01
|