cgw15

Improved Dual System ABE (CGW15)

Authors: Jie Chen, Romain Gay, Hoeteck Wee

Title: “Improved Dual System ABE in Prime-Order Groups via Predicate Encodings”
Published in: EUROCRYPT, 2015
Notes: Implemented the scheme in Appendix B.2

Scheme Properties

  • Type: ciphertext-policy attribute-based encryption

  • Setting: Pairing groups (prime order)

  • Assumption: k-linear

Implementation

Authors:

Shashank Agrawal

Date:

05/2016

class cgw15.CGW15CPABE(groupObj, assump_size, uni_size, 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.