# Tag Info

2

Is there any chance of finding symmetric key from encrypted public key? The answer is no, assuming the symmetric key has sufficient entropy and a secure encryption algorithm and mode is used correctly. Modern ciphers like AES with proper secret keys are not vulnerable to known plaintext attacks. Why? This has been answered in an earlier question: Why ...

-2

The only values we can obtain from Diffie-Hellman are values between $0$ and a prime number. So, if i want $255$, i can use $251$ or $257$ and work with those. This is what is called the prime modulus. Then we have the generator, that is a primitive square root of the prime modulus. This value only is the primitive square root if after doing all the maths ...

0

In short: If you assume no shared secret, you can not build anything. For some theory on this, a similar assumption is formalized in the Dolev Yao model (all messages are send via the attacker, assumes perfect encryption), where no unauthenticated key exchange is possible. If you assume a shared secret, then it depends on the kind of secret to run a number ...

Top 50 recent answers are included