pksig_hess¶
Hess - Identity-based Signatures
From: “Hess - Efficient identity based signature schemes based on pairings.”
Published in: Selected Areas in Cryptography
Available from: Vol. 2595. LNCS, pages 310-324
Notes:
- type: signature (ID-based)
- setting: bilinear groups (asymmetric)
Authors: |
|
---|---|
Date: | 11/2011 |
-
class
pksig_hess.
Hess
(groupObj)[source]¶ Bases:
charm.toolbox.PKSig.PKSig
>>> from charm.toolbox.pairinggroup import PairingGroup >>> group = PairingGroup('SS512') >>> hess = Hess(group) >>> (master_public_key, master_secret_key) = hess.setup() >>> ID = "janedoe@email.com" >>> (public_key, secret_key) = hess.keygen(master_secret_key, ID) >>> msg = "this is a message!" >>> signature = hess.sign(master_public_key, secret_key, msg) >>> hess.verify(master_public_key, public_key, msg, signature) True