This repository lists libraries that may be useful when implementing the workflows described in the Publisher Advertiser Identity Reconciliation (PAIR) protocol.
Below are some cryptographic libraries that provide the key generation, hashing, and commutative encryption operations involved in PAIR workflows.
-
Java: Commutative key generation and encryption/decryption operations can be implemented using elliptic curve operations that are available in Bouncy Castle.
-
Python: The pairid library provides all the necessary key generation, hashing, and commutative encryption/decryption operations. The commutative encryption operations leverage Curve25519 and the Ristretto group.