A simple implementation of Weil pairing
We implemented the Weil pairing of elliptic curve over \mathbb{F}_{p^2}, where p is a prime such that p\equiv 1\mod 4.
\mathbb{F}_{p^2}
p
p\equiv 1\mod 4