pksig_bls04

Boneh-Lynn-Shacham Signature (BLS04)

Authors: D. Boneh, B. Lynn, H. Shacham

Title: “Short Signatures from the Weil Pairing”
Published in: Journal of Cryptology, 2004
Notes: This is the IBE (2-level HIBE) implementation of the HIBE scheme BB_2.

Scheme Properties

  • Type: signature (identity-based)

  • Setting: bilinear groups (asymmetric)

  • Assumption: CDH

Implementation

Authors:
  1. Ayo Akinyele

Date:

1/2011

class pksig_bls04.BLS01(groupObj)[source]

Bases: IBSig

>>> from charm.toolbox.pairinggroup import PairingGroup
>>> group = PairingGroup('MNT224')
>>> messages = { 'a':"hello world!!!" , 'b':"test message" }
>>> ib = BLS01(group)
>>> (public_key, secret_key) = ib.keygen()
>>> signature = ib.sign(secret_key['x'], messages)
>>> ib.verify(public_key, signature, messages) 
True
dump(obj)[source]
keygen(secparam=None)[source]
sign(x, message)[source]
verify(pk, sig, message)[source]
pksig_bls04.main()[source]