3 ms·
Great explanation, thank you. In your example you decryped by key^2. The decryption requiring a different or derivative key a general feature of the algorithm
by magicalhippo 2y ago
Great explanation, thank you.
In your example you decryped by key^2. The decryption requiring a different or derivative key a general feature of the algorithm or just a quirk of your example?
- snowfoolin 2y agoIn the ElGamal example I linked you'll see that we use the same key for encryption and decryption. However, we perform a modification on the cyphertext using known values. This has a similar effect. It's also somewhat definitional. We're taking an established encryption scheme in both cases and constructing a new algorithm on top of it. Above where I say we're performing decryption with a key set to key^2, we could also think of it as doing Dec(key, key*m) where the key is the same but we've done some operation on the cyphertext.
- magicalhippo 2y ago> In the ElGamal example I linked you'll see Was on mobile phone so was too hard to read the handwritten text. Will definitely check it out later. Anyway thanks again for the additional explanation, much appreciated.