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)
Converts a python number into a padded string that is suitable for storage
dataset/ETHPy150Open gdanezis/petlib/examples/amacscreds.py/cred_UserKeyge--crossover with--dataset/ETHPy150Open saymedia/python-simpledb/simpledb/models.py/NumberField.encode