The invention is a kind of elliptical curve encrypting method. The method obtains the public key YB of deciphering end, and then generates random value k, k carries on elliptical curve dot product calculation with YB and the base point G of the curve, gets the point P=kG, !=kYB on the curve; carries on calculation to P and Q with v and g functions, and gets v(P), g(Q); uses function f to calculate m and gets f(m), uses function u to calculate f(m) and g(Q) and gets u(f(m), g(Q)), gets the v(P), u(f(m), g(Q)); the decoding side receives encrypted text(V,U), calculates with own personal xB and V, gets r(xB, V), calculates r(xB, V) and V with inverse function of u and gets D-u'(U, r(xB, V)), uses inverse function of f to calculate and gets m=f-1(D); the u and u' have following nature: for z-u(x, y), there can get x=u' (z, y).