#cl #protocols #hyperledger #secure #applications #key #anoncreds

anoncreds-clsignatures

Hyperledger Anoncreds CL Signatures

9 releases

0.3.2 Feb 1, 2024
0.3.1 Jan 15, 2024
0.3.0 Nov 29, 2023
0.2.4 Nov 10, 2023
0.1.0 Jul 11, 2023

#501 in Magic Beans

Download history 612/week @ 2024-01-05 533/week @ 2024-01-12 299/week @ 2024-01-19 563/week @ 2024-01-26 1740/week @ 2024-02-02 1340/week @ 2024-02-09 909/week @ 2024-02-16 1113/week @ 2024-02-23 508/week @ 2024-03-01 1011/week @ 2024-03-08 1129/week @ 2024-03-15 880/week @ 2024-03-22 650/week @ 2024-03-29 456/week @ 2024-04-05 291/week @ 2024-04-12 161/week @ 2024-04-19

1,578 downloads per month
Used in 2 crates (via indy-data-types)

Apache-2.0

515KB
9K SLoC

CL Signatures Rust

CL Signatures, cryptographic signatures with efficient protocols are a form of digital signature invented by Jan Camenisch and Anna Lysyanskaya (papers: 2001, 2003, 2004). In addition to being secure digital signatures, they need to allow for the efficient implementation of two protocols:

  • A protocol for computing a digital signature in a secure two-party computation protocol.
  • A protocol for proving knowledge of a digital signature in a zero-knowledge protocol.

In applications, the first protocol allows a signer to possess the signing key to issue a signature to a user (the signature owner) without learning all the messages being signed or the complete signature.

The second protocol allows the signature owner to prove that he has a signature on many messages without revealing the signature and only a (possibly) empty subset of the messages.

CL Signatures are the basis of Hyperledger AnonCreds v1.0 and the implementation in this repository is used in the Hyperledger AnonCreds Rust implementation.

This implementation of CL Signatures was initially in the Hyperledger Ursa project.

Rust Crate

This crate implements a version of the CL signature scheme.

To start, all that is needed is to add this to your Cargo.toml.

[dependencies]
anoncreds-clsignatures = "0.1"

For an example of using this crate, see the Hyperledger AnonCreds Rust implementation repository.

Dependencies

~2.7–4.5MB
~104K SLoC