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
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
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file private_join_and_compute-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: private_join_and_compute-0.0.1-py3-none-any.whl
- Upload date:
- Size: 17.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54522b79a36ac89a8bc8cb7f5faf91c385141f8cacc08d389644f9f1a346552a |
|
MD5 | eeb8898f199436e17b5756847c796e03 |
|
BLAKE2b-256 | 1e3ae325b3ec392a32231a0650e91d40d4381315ba13f99f280dc21e605168ef |