def cred_UserKeyge(params):
    G, g, h, o = params
    priv = o.random()
    pub = priv * g     # This is just an EC El-Gamal key
    return (priv, pub)
Generates keys and parameters for credential user
dataset/ETHPy150Open gdanezis/petlib/examples/amacscreds.py/cred_UserKeyge