How to encode and decode PGP message?
Opened this issue · 4 comments
proteye commented
Hello.
How to encode and decode PGP message like this: "-----BEGIN PGP MESSAGE-----{data}-----END PGP MESSAGE-----"?
duncanhoggan commented
Are you referring to support for OpenPGP?
proteye commented
Not full support. At least decoding and coding message. RSA encryption itself as I understand it is the same. But "BEGIN PGP MESSAGE..." is different (may be different sequence).
duncanhoggan commented
Ok so you are referring to just parsing and adding the ASCII Armor. I'm not sure if this falls into the scope of this repo, you could manage it with a regex pattern for parsing.
proteye commented
Ok. Thank you. I just thought maybe someone had done separately from the repository and there is a ready code.