cgw15

Jie Chen, Romain Gay, and Hoeteck Wee

From: “Improved Dual System ABE in Prime-Order Groups via Predicate Encodings”
Published in: 2015
Notes: Implemented the scheme in Appendix B.2
Security Assumption: k-linear

type: ciphertext-policy attribute-based encryption
setting: Pairing
Authors:Shashank Agrawal
Date:5/2016
class cgw15.CGW15CPABE(groupObj, assump_size, uni_size, 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.