Skip to main content

SDK for calling/providing an encrypted inference service

Project description

Encrypted inference SDK

This package allows calling a remotely deployed inferencing service that operates on encrypted input data. The data is encrypted using homomorphic encryption with the Microsoft SEAL library. This SDK handles calls to Microsoft SEAL to create a secret key and encrypt the input data, returning an encrypted query as a byte array. The byte array must then be communicated to a server component, where a model is deployed. The server performs the prediction, obtaining an encrypted result, which can be decrypted by this SDK with the secret key. In this process, the server is guaranteed to never learn the client's query.

Project details


Release history Release notifications | RSS feed

This version

0.9

Download files

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

Source Distribution

encrypted-inference-0.9.tar.gz (899.5 kB view details)

Uploaded Source

Built Distribution

encrypted_inference-0.9-py3-none-any.whl (905.4 kB view details)

Uploaded Python 3

File details

Details for the file encrypted-inference-0.9.tar.gz.

File metadata

  • Download URL: encrypted-inference-0.9.tar.gz
  • Upload date:
  • Size: 899.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.5

File hashes

Hashes for encrypted-inference-0.9.tar.gz
Algorithm Hash digest
SHA256 e4745db36361abbc7a094d884a6a84704d686db3d67712c8400b61f5fdac0fc3
MD5 aaca809711e39f312a975af595157226
BLAKE2b-256 1793a6c4f03c4a3e745d453fbb43b2e71c61196beae1f920f81ccdda90426ce1

See more details on using hashes here.

File details

Details for the file encrypted_inference-0.9-py3-none-any.whl.

File metadata

  • Download URL: encrypted_inference-0.9-py3-none-any.whl
  • Upload date:
  • Size: 905.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.5

File hashes

Hashes for encrypted_inference-0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 75bff78e8f829066b02edf20a65b441740db5078d8c52ec3ec3418032c929762
MD5 6971911023f686964773195346d650d1
BLAKE2b-256 9d87b413acd8e265e2faaf7868572724af462bd97bae0cbc90e395291371112d

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