using sage
I want to compare time of scalar multiplicity between ECC HECC with 
security level 80
===========================================================================
So in ECC GF(next_prime(2^160)) then construct the curve, base point
=====================================================================
I'm not sure how in hyper elliptic curve;
I think 
q = next_prime(2^80)
K.<x>=GF(q,'x')[]
f = x^5 + x^3 + 1
H = HyperellipticCurve(f, 0)
J = H.jacobian()
z = Integer(randrange(2, q-2))
D = J(H.lift_x(F(z)))             # divisor

===============================================================
To compare time 
ECC => `
%timeit (Integer(randrange(1, 2^160))) * base point

`
HECC => 
%timeit (Integer(randrange(1, 2^80))) * divisor

`
==============================================================
is this correct?
and if this correct, how ECC time = 13.2 millisecond;
                         HECC time = 185 millisecond

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to