Name Date Size #Lines LOC

..--

ciphers/H25-Apr-2025-251175

crypto_util/H25-Apr-2025-2,4881,921

BUILDH A D25-Apr-20251.6 KiB4440

READMEH A D25-Apr-2025553 1711

__init__.pyH A D25-Apr-2025576 140

README

1This library contains a python wrapper over OpenSSL/BoringSSL elliptic curves.
2
3Example Usage:
4
5::
6
7	from private_join_and_compute.py.ciphers import ec_cipher
8	from private_join_and_compute.py.crypto_util import supported_curves
9	from private_join_and_compute.py.crypto_util import supported_hashes
10
11	client_cipher = ec_cipher.EcCipher(
12	  curve_id=supported_curves.SupportedCurve.SECP256R1.id,
13	  hash_type=supported_hashes.HashType.SHA256,
14	  private_key_bytes=None) # "None" generates a new key
15	encrypted_point = client_cipher.Encrypt(b"id_bytes")
16
17