Documentation
NAME
pypbc – pypbc
FILE
/usr/local/lib/python3.0/dist-packages/pypbc.so
CLASSES
builtins.object
Element
Pairing
Parameters
class Element
Element objects
data
__hash__ = None
def __new__(…):
T.new(S, …) –> a new object with type S, a subtype of T
def from_hash(…):
Creates an Element from the given hash value.
def one(…):
Creates an element representing the multiplicative identity for its group.
def random(…):
Creates a random element from the given group.
def zero(…):
Creates an element representing the additive identity for its group.
descriptors
methods
class Pairing
Pairing objects
data
def __new__(…):
T.new(S, …) –> a new object with type S, a subtype of T
descriptors
methods
def apply(…):
applies the pairing.
class Parameters
Parameters objects
data
def __new__(…):
T.new(S, …) –> a new object with type S, a subtype of T
descriptors
methods
DATA
G1 = 0
G2 = 1
GT = 2
Zr = 3

