def POUF_blind(params, messages):
    """Blind the messages input to the POUF"""
    G, g, o = params
    hi = [G.hash_to_point(m) for m in messages]
    ai = [o.random() for _ in messages]
    yi = [a * h for a,h in zip(ai, hi)]
    return ai, yi
dataset/ETHPy150Open gdanezis/petlib/examples/pouf.py/POUF_blind/original