I ask about represent message in Menezes–Vanstone elliptic curve cryptography I now encrypt function as follow

$C_1 = (M_1 * K_1) mod\ P$

$C_2=(M2 * k_2) mod\ P$

My question is about how much the size of $M_1$ and $M 2$, if we assume we are working on the 256 curve. Does the size of $M_1$ is one character and $M_2$ is also one character or $M_1$ is 32 byte and $M_2$ is 32 bytes. I hope anyone clarification about my problem.

I need any proposal.

  • $\begingroup$ You should not use it... crypto.stackexchange.com/questions/16596/… $\endgroup$ – DrLecter Dec 5 '14 at 23:23
  • $\begingroup$ Ok thanks for your response. But I have something I did not understand. When use Elgamal EC 160 bit. I can encrypt text file character by character then each block is character. While if we used MVECC we can encrypt text file 159 bit each block. If that right then MVECC is much faster EC ELGAMAL. Is that right. $\endgroup$ – Mhsz Dec 5 '14 at 23:43
  • $\begingroup$ No one ever would use a public key encryption scheme to directly encrypt a message. Please look at the hybrid encryption paradigm and at ECIES in particular when working with EC groups. $\endgroup$ – DrLecter Dec 5 '14 at 23:46
  • $\begingroup$ Well I was just wondering about the scientific theory. In other words, Is size of the block block has to do with the security of the algorithm or not. $\endgroup$ – Mhsz Dec 5 '14 at 23:52
  • $\begingroup$ Ok, M1 and M2 are elements of $Z_p^*$, i.e., in the set $\{1,\ldots,p-1\}$. The size of $p$ has to do with the security level...but thats not in the question. $\endgroup$ – DrLecter Dec 5 '14 at 23:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.