<div dir="ltr">Hey Matt,<br><br><div class="gmail_quote"><div dir="ltr">On Thu, Aug 9, 2018 at 9:23 AM Matt Maxson <<a href="mailto:matt@maxsons.org">matt@maxsons.org</a>> wrote:</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>The question was, basically, if someone has access to both a PGP encrypted email and a plain text version of the same email, can an attacker determine the key.  The answer given was "no".<br></div><div><br></div><div>I don't understand.  Why can't that happen?  For example, if I have 10 + x = 50  (this can be replaced with any formula that has exactly one unknown), I can solve for X.  In my thinking, isn't the unknown in the equation simply the key?  Sure, the maths are more complex, but it should be a trivial issue to work backwards and solve for the key.<br></div><div><br></div></blockquote><div>The approach you describe is called a "known plaintext attack", so you might search for that and AES (which is the most commonly used block cipher in PGP.) A well designed cipher should be as resistant to known-plaintext as brute force. In other words, it should be as efficient to solve for x as to simply try keys until you get a result.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div></div><div>Thanks in advance for the help.<br></div><div class="m_9043620557948399194protonmail_signature_block m_9043620557948399194protonmail_signature_block-empty"><div class="m_9043620557948399194protonmail_signature_block-user m_9043620557948399194protonmail_signature_block-empty"><br></div><div class="m_9043620557948399194protonmail_signature_block-proton m_9043620557948399194protonmail_signature_block-empty"><br></div></div><div><br></div>_______________________________________________<br>
The cryptography mailing list<br>
<a href="mailto:cryptography@metzdowd.com" target="_blank">cryptography@metzdowd.com</a><br>
<a href="http://www.metzdowd.com/mailman/listinfo/cryptography" rel="noreferrer" target="_blank">http://www.metzdowd.com/mailman/listinfo/cryptography</a></blockquote></div></div>