Skip to main content

No project description provided

Project description

This library contains a python wrapper over OpenSSL/BoringSSL elliptic curves.

Example Usage:

from private_join_and_compute.py.ciphers import ec_cipher
from private_join_and_compute.py.crypto_util import supported_curves
from private_join_and_compute.py.crypto_util import supported_hashes

client_cipher = ec_cipher.EcCipher(
  curve_id=supported_curves.SupportedCurve.SECP256R1.id,
  hash_type=supported_hashes.HashType.SHA256,
  private_key_bytes=None) # "None" generates a new key
encrypted_point = client_cipher.Encrypt(b"id_bytes")

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 Distribution

private_join_and_compute-0.0.1-py3-none-any.whl (17.5 kB view details)

Uploaded Python 3

File details

Details for the file private_join_and_compute-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for private_join_and_compute-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 54522b79a36ac89a8bc8cb7f5faf91c385141f8cacc08d389644f9f1a346552a
MD5 eeb8898f199436e17b5756847c796e03
BLAKE2b-256 1e3ae325b3ec392a32231a0650e91d40d4381315ba13f99f280dc21e605168ef

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