pksig_chp

Camenisch-Hohenberger-Pedersen Signature (CHP07)

Authors: J. Camenisch, S. Hohenberger, M. Pedersen

Title: “Batch Verification of Short Signatures”
Published in: EUROCRYPT, 2007
Notes:

Scheme Properties

  • Type: signature (identity-based)

  • Setting: bilinear groups (asymmetric)

  • Assumption: CDH

Implementation

Authors:
  1. Ayo Akinyele

Date:

11/2011

class pksig_chp.CHP(groupObj)[source]

Bases: PKSig

>>> from charm.toolbox.pairinggroup import PairingGroup   
>>> group = PairingGroup('SS512')
>>> chp = CHP(group)
>>> master_public_key = chp.setup()
>>> (public_key, secret_key) = chp.keygen(master_public_key) 
>>> msg = { 't1':'time_1', 't2':'time_2', 't3':'time_3', 'str':'this is the message'}
>>> signature = chp.sign(public_key, secret_key, msg)
>>> chp.verify(master_public_key, public_key, msg, signature)
True
keygen(mpk)[source]
setup()[source]
sign(pk, sk, M)[source]
verify(mpk, pk, M, sig)[source]