question to crypto experts
Robert J. Hansen
rjh at sixdemonbag.org
Fri Apr 24 00:10:52 CEST 2026
> basically, this is an encrypted xml file with an header
>
> my question is : knowing that the file will begin with "<xml" does it
> make it weak to decryption attack, and can it be used to get the key?
This is called a "known plaintext" attack.
All modern encryption algorithms are highly resistant to known plaintext
attacks. GnuPG as a whole is highly resistant to known plaintext attacks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 236 bytes
Desc: OpenPGP digital signature
URL: <https://lists.gnupg.org/pipermail/gnupg-devel/attachments/20260423/8c2e0cd6/attachment.sig>
More information about the Gnupg-devel
mailing list