pk_hve08

Vincenzo Iovino, Giuseppe Persiano (Pairing-based)

From: “Hidden-Vector Encryption with Groups of Prime Order”
Published in: Pairing 2008
Notes:
  • type: predicate encryption (public key)
  • setting: Pairing
Authors:Matthew W. Pagano
Date:12/2012
class pk_hve08.HVE08(groupObj)[source]

Bases: object

decrypt(CT, sk)[source]
encrypt(M, xVector, pk)[source]
keygen(pk, msk, yVector)[source]

yVector: expects binary attributes of 0 or 1 and “dont care” attriute is represented by the value 2.

setup(n)[source]
pk_hve08.main()[source]