Home

Awesome

Standard Ciphersuites for Cryptographic Protocols

Cryptographic protocols are often parameterized by ciphersuites and share common functions for data serialization, message expansion, and domain separation. A ciphersuite may also specify algebraic structures used by the protocol, and these structures need to expose a common interface to the protocol.

This repository contains the code for the following npm packages:

This library is a work in progress, exposing ciphersuites dependent on a prime-order group (in practice often from an elliptic curve) and a hash function. The interfaces and functions come directly from this Internet-Draft OPRF protocol and are used in an implementation of this specification. Thus, at this point in development, the interfaces and function collections will be incomplete. As we implement more protocols using external ciphersuites developed with this library, we will expand the capabilities of the library and improve the abstractions.

License

(c) 2021 Privacy Research, LLC (https://privacyresearch.io), see LICENSE file.