pksig_chch¶
Jae Choon Cha and Jung Hee Cheon - Identity-based Signatures
From: “J. Cha and J. Choen - An identity-based signature from gap Diffie-Hellman groups.”
Published in: PKC 2003
Available from: Vol. 2567. LNCS, pages 18-30
Notes:
- type: signature (ID-based)
- setting: bilinear groups (asymmetric)
Authors: |
|
---|---|
Date: | 11/2011 |
-
class
pksig_chch.
CHCH
(groupObj)[source]¶ Bases:
charm.toolbox.PKSig.PKSig
>>> from charm.toolbox.pairinggroup import PairingGroup >>> group = PairingGroup('SS512') >>> chch = CHCH(group) >>> (master_public_key, master_secret_key) = chch.setup() >>> ID = "janedoe@email.com" >>> (public_key, secret_key) = chch.keygen(master_secret_key, ID) >>> msg = "this is a message!" >>> signature = chch.sign(public_key, secret_key, msg) >>> chch.verify(master_public_key, public_key, msg, signature) True