Elliptic and Hyper Elliptic Curve Cryptography Over Finite Field Fp