Armoring is essentially a slightly smart wrapper around Base64. Therefore, I think what you're really looking for is to use base64, I would look at using `openpgp_encoding_base64_encode`.
Does that help? Sean On Tue, Oct 8, 2013 at 12:44 PM, bill keenan <[email protected]> wrote: > Hi, > > I want to build a little one-time encryption tool, where i'll do symmetric > encryption and hand off the results. > > so i've got this > https://gist.github.com/BillKeenan/6887459 > > which looks ok, but the output is not ascii, I see there's the ascii armor > tools in openpgpjs, but i'm not sure how i should go about it. > > So, I'm going to take a password, generate a session key from it (not sure > how to do that yet either), do a symmetric encryption and give that result. > > Then in another form, you'll be able to bring the data + password and > decrypt it. > > Thoughts? > > _______________________________________________ > > http://openpgpjs.org > Subscribe/unsubscribe: http://list.openpgpjs.org >
_______________________________________________ http://openpgpjs.org Subscribe/unsubscribe: http://list.openpgpjs.org

