bsw07

John Bethencourt, Amit Sahai, Brent Waters

From: “Ciphertext-Policy Attribute-Based Encryption”
Published in: 2007
Notes: Implemented an asymmetric version of the scheme in Section 4.2
Security Assumption: Generic group model

type: ciphertext-policy attribute-based encryption
setting: Pairing
Authors:Shashank Agrawal
Date:05/2016
class bsw07.BSW07(group_obj, verbose=False)[source]

Bases: charm.toolbox.ABEnc.ABEnc

decrypt(pk, ctxt, key)[source]

Decrypt ciphertext ctxt with key key.

encrypt(pk, msg, policy_str)[source]

Encrypt a message M under a policy string.

keygen(pk, msk, attr_list)[source]

Generate a key for a set of attributes.

setup()[source]

Generates public key and master secret key.