Algorithms in Elliptic Curve Cryptography