How do I do Mathematica to a encrypt a message when someone has given me their public PGP key?
Does Mathematica have this functionality? Could I use Mathematica GenerateAsymmetricKeyPair[]
to share a PGP key?
Mathematica Stack Exchange is a question and answer site for users of Wolfram Mathematica. It only takes a minute to sign up.
Sign up to join this communityUnfortunately Mathematica does not support PGP key import and encryption/decryption. However, as of v 12.2 it does support import of PEM files (keys, certificates, etc)
gpg
) if you're planning on using this in anything resembling a production style environment. Cryptography is not a very DIY friendly field. I couldn't figure out how to import an example PGP key myself, so I'm not entirely sure it can be done. $\endgroup$