0

I have read a few tutorials about ECC implementaiton in C. What I am confused is this: Can I encrypt messages with ECC and without the use of any other algorithm, like AES, RSA or should I use them also?

What I mean is this: Can ECC alone can be used for text message encryption, or is it only for key generation?

Ella Rose
  • 19,603
  • 6
  • 53
  • 101

1 Answers1

1

Hybrid cryptosystems, as @kelala has mentioned, are used in practice in favour of public-key encryption systems. It's not a particularity of Elliptic Curve vs Integer-Group based cryptosystems: it's rather that bit-twiddling (symmetric-key) cyphers are much faster than algebraic (public-key) ones.

So, what we do is to create a symmetric key and use a public-key scheme to encrypt it in the KEM/DEM paradigm (and also 2) and then use a symmetric scheme to actually encrypt.

Also, keep in mind that even if you do encryption wholly in an Elliptic Curve, you probably need a hash function at some point that maps the text message (a sequence of bytes) to a field element or a curve point itself. You can look up the work of Icart, Fouque, Tibouchi, Coron, Maurer and others, for examples of how to do this (depending on the curve family you're targetting)

Alex Pinto
  • 226
  • 1
  • 3