abenc_dacmacs_yj14¶
DAC-MACS: Data Access Control for Multi-Authority Cloud Storage (YJ14)
Authors: Kan Yang, Xiaohua Jia
Scheme Properties
Type: ciphertext-policy attribute-based encryption (public key)
Setting: Pairing groups
Assumption: Decisional Bilinear Diffie-Hellman
Implementation
- Authors:
artjomb
- Date:
07/2014
- class abenc_dacmacs_yj14.DACMACS(groupObj)[source]¶
Bases:
object- ctupdate(GPP, CT, attribute, CUK)[source]¶
Updates the cipher-text using the update key, because of the revoked attribute (executed by cloud provider)
- decrypt(CT, TK, z)[source]¶
Decrypts the content(-key) from the cipher-text using the token and the user secret key (executed by user/content consumer)
- encrypt(GPP, policy_str, k, authority)[source]¶
Generate the cipher-text from the content(-key) and a policy (executed by the content owner)
- generateTK(GPP, CT, UASK, g_u)[source]¶
Generates a token using the user’s attribute secret keys to offload the decryption process (executed by cloud provider)
- group¶
Prime order group
- keygen(GPP, authority, attribute, userObj, USK=None)[source]¶
Generate user keys for a specific attribute (executed on attribute authority)
- setupAuthority(GPP, authorityid, attributes, authorities)[source]¶
Generate attribute authority keys (executed by attribute authority)