Skip to content

Instantly share code, notes, and snippets.

View NashMiao's full-sized avatar
🌚
I may be slow to respond.

NashMiao

🌚
I may be slow to respond.
View GitHub Profile

Anonymous Credential

In an anonymous credential scheme there are three participants: issuer, user(prover), verifier. Issuer creates a certificate to user which contains a list of user's attributes and issuer's signature(use BBS+ signature). The user who is in possession of that credential can selectively disclose some parts to some verifier.

Background

BBS signature

  • Setup: generate a pairing-friendly curve G, and target group Gt, pairing func e: G x G -> Gt.
  • KeyGen: sk = (x), pk = (g^x).