abenc_tbpre_lww14

Qin Liu, Guojun Wang, Jie Wu

From: Time-based proxy re-encryption scheme for secure data sharing in a cloud environment
Published in: Information Sciences (Volume: 258, year: 2014)
Notes:
  • type: ciphertext-policy attribute-based encryption (public key)
  • setting: Pairing
Author:artjomb
Date:07/2014
class abenc_tbpre_lww14.TBPRE(groupObj)[source]

Bases: object

decrypt(CT, user, term=None)[source]

Decrypts the content(-key) from the cipher-text (executed by user/content consumer)

encrypt(PK, policy, F)[source]

Generate the cipher-text from the content(-key) and a policy (executed by the content owner)

group = None

Prime order group

hashDate(H, time, s)[source]
keygen(MK, PK, H, s, user, pubuser, attribute, time)[source]

Generate user keys for a specific attribute (executed by CA)

policyTerm(user, policy)[source]
reencrypt(PK, H, s, CT, currentTime)[source]

Re-encrypts the cipher-text using the current time (executed by cloud service provider)

registerUser(PK, H)[source]

Registers a user by id (executed by user)

setup(attributes)[source]

Global Setup (executed by CA)

timeSuffices(timeRange, needle)[source]
abenc_tbpre_lww14.basicTest()[source]
abenc_tbpre_lww14.basicTest2()[source]

Month-based attributes are used

abenc_tbpre_lww14.gcd(*numbers)[source]

Return the greatest common divisor of the given integers

abenc_tbpre_lww14.lcm(numbers)[source]

Return lowest common multiple.

abenc_tbpre_lww14.test()[source]