Closed michep closed 1 year ago
Hi @michep thanks for report this, I think can implement that on the next version
amorDecode was introduced in v3.7.1, there is a new function signature for encode as well, allowing set a different message type
var armorEncoded = await OpenPGP.armorEncode("PGP MESSAGE", bytesSample);
var result = await OpenPGP.armorDecode(armorEncoded);
for now I'm closing this issue, but feel free to open if something is not working as expected
Hello,
I have to encode and later - decode a binary file into and from armored (ASCII) message format.
For encoding I do:
But for decoding a String into binary ther is no way - there is no
armorDecode()
function or something.Is there any way I can do it?