bsw07

Ciphertext-Policy Attribute-Based Encryption (BSW07) - Asymmetric

Authors: John Bethencourt, Amit Sahai, Brent Waters

Title: “Ciphertext-Policy Attribute-Based Encryption”
Published in: IEEE Symposium on Security and Privacy, 2007
Notes: Asymmetric version of the scheme in Section 4.2

Scheme Properties

  • Type: ciphertext-policy attribute-based encryption

  • Setting: Pairing groups

  • Assumption: Generic group model

Implementation

Authors:

Shashank Agrawal

Date:

05/2016

class bsw07.BSW07(group_obj, verbose=False)[source]

Bases: 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.