This question already has an answer here:

I was curious about cryptography so I started to learn about symmetric encryption.

From what I understand a symmetric encryption works as follow:

PlainText -> (Encrypt)K -> Cipher text -> (Decrypt)K -> PlainText

I was wondering if it is possible to retrieve the cryptographic key by knowing the plain text, the cipher text and the encryption algorithm used.


marked as duplicate by figlesquidge, e-sushi, Gilles, Maeher, DrLecter Feb 26 '14 at 14:35

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • $\begingroup$ Did you do any reading before asking this question, e.g., on Wikipedia? Thomas has written up a nice answer to this question. $\endgroup$ – DrLecter Feb 26 '14 at 9:51
  • 1
    $\begingroup$ @DrLecter: Great link, noted that answer for future use. $\endgroup$ – figlesquidge Feb 26 '14 at 10:55

Browse other questions tagged or ask your own question.