ABEnc

Base class for attribute-based encryption

Notes: This class implements an interface for a standard attribute-based encryption scheme.

A public key attribute-based encryption scheme consists of four algorithms: (setup, keygen, encrypt, decrypt).

class ABEnc.ABEnc[source]

Bases: charm.toolbox.schemebase.SchemeBase

decrypt(pk, sk, ct)[source]
encrypt(pk, M, object)[source]
keygen(pk, mk, object)[source]
setup()[source]