Score:0

Symmetric and asymmetric encryption using the same encryption/decryption algorithm?

de flag

If we use the following notation:

$$C = E(P, K_e)$$

$$P = D(C, K_d)$$

Where: $$E(), D(), C, P, K_e, K_d$$ are the encryption algorithm, decryption algorithm, ciphertext, plaintext, encryption key and decryption key respectively

The only difference between symmetric and asymmetric encryption is:

$K_e = K_d$ for symmetric and $K_e \neq K_d$ foy asymmetric.

So in theory we could use the same E() and D() for both types of encryption.

My question is: Is this correct? And if so, are there real examples of this?

Also, if it is correct, why is it not so used? I suppose that the answer to this is due to the fact that making specific algorithms for each type of encryption(asymmetric and symmetric) could lead to a better efficiency(troughput, security level, encryption speed, etc) of them.

kelalaka avatar
in flag
Why do we need for slow encryption with asymmetric ciphers while we have fast block ciphers? There is one that uses modular arithmetic to achieve symmetic encryption, though still slow.
poncho avatar
my flag
See https://crypto.stackexchange.com/questions/106782/are-asymmetric-encryption-and-decryption-same-function/106783#106783 for an answer in the assymetric case
kelalaka avatar
in flag
[/pohlig-hellman](https://www.rose-hulman.edu/~holden/Preprints/pohlig-hellman.pdf)
DannyNiu avatar
vu flag
"Also, if it is correct, why is it not so used", It's not so used FOR THE EXACT REASON OF it being incorrect!
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.