IBEnc

Base class for identity-based encryption

Notes: This class implements an interface for a standard identity-based encryption scheme.
Identity-based encryption consists of three algorithms: (setup, extract, encrypt, and decrypt).
class IBEnc.IBEnc[source]

Bases: charm.toolbox.schemebase.SchemeBase

checkProperty(schemeObj, _reqProps)[source]
decrypt(pk, sk, ct)[source]
encrypt(pk, ID, message)[source]
extract(mk, ID)[source]
getProperty()[source]
printProperties()[source]
setProperty(secDef=None, assumption=None, messageSpace=None, secModel=None, **kwargs)[source]
setup()[source]
updateProperty(scheme, secDef=None, assumption=None, messageSpace=None, secModel=None, **kwargs)[source]