-2
$\begingroup$

I want to use ECC to encrypt audio.

Is ECC encryption a stream cipher or block cipher? I'm encrypting one sample (1 byte) at a time and I want to use multi-layer encryption (multi-ECC) to increase complexity but this increases the run time.

Should I use parallel computing to decrease the run time? Is that the right solution?

What is your advice?

$\endgroup$

closed as primarily opinion-based by Biv, e-sushi Jul 4 '17 at 3:20

Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise. If this question can be reworded to fit the rules in the help center, please edit the question.

4
$\begingroup$

ECC is a form of asymmetric cryptography and is usually used for things such as key exchange or message signing. For encrypting the actual audio data you should probably look into a symmetric encryption algorithm such as AES or Chacha20.

$\endgroup$
  • $\begingroup$ But can use ECC in encryption through sender do these 1) encoding(convert samples to points) sample to point on the curve and then 2) encrypt point and receiver do 1) decoding (convert points to samples) 2)decryption $\endgroup$ – Kawther Esaa Jul 3 '17 at 1:30
  • 4
    $\begingroup$ @KawtherEsaa That's similar to ElGamal. You should instead use ECIES style crypto. $\endgroup$ – CodesInChaos Jul 3 '17 at 8:32

Not the answer you're looking for? Browse other questions tagged or ask your own question.