Skip to main content

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 --release to build the crate, bind it to the Python package and install the package locally.

Test

  • cargo test to test the Rust functionality.
  • pytest test to test the Python package.

Publish

See docs/publish.md for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

sycret-0.2.4-py3-none-win_amd64.whl (136.4 kB view details)

Uploaded Python 3 Windows x86-64

sycret-0.2.4-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (182.9 kB view details)

Uploaded Python 3 manylinux: glibc 2.17+ ARM64

sycret-0.2.4-py3-none-macosx_10_7_x86_64.whl (181.4 kB view details)

Uploaded Python 3 macOS 10.7+ x86-64

File details

Details for the file sycret-0.2.4-py3-none-win_amd64.whl.

File metadata

  • Download URL: sycret-0.2.4-py3-none-win_amd64.whl
  • Upload date:
  • Size: 136.4 kB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/0.11.4

File hashes

Hashes for sycret-0.2.4-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 c84c0874b0f8d5512222396d2788c789bfea0c6199e1c66025d2370d41015dcb
MD5 4f9f8dc7cd78101d01d3afa70013b2e6
BLAKE2b-256 67f775b0710130e34e44521117702e77915fdefd4362e9cd3edc98b4a8c90d89

See more details on using hashes here.

File details

Details for the file sycret-0.2.4-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for sycret-0.2.4-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 78d9e155eaafbeb8d8fc7c14ad1d1adaef6cc9ebed909f1ffa11fd2085c79703
MD5 a8764de45018ec95dd845e01c8da5414
BLAKE2b-256 e21293de940a71febc61117d3a5ef438f609a152dd164c47832cf396316c11fb

See more details on using hashes here.

File details

Details for the file sycret-0.2.4-py3-none-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for sycret-0.2.4-py3-none-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 463884ff09948eab3a43e2f32200048644103dbd568a64a6b2e5c9d91a690aca
MD5 54536641210fae8792c2b17a83f22630
BLAKE2b-256 4102156a76fa8308a04e7eaaf9784a2e92ba13feaa338832a77686d09667e822

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page