Home GnuPG
Diffusion GPGME 44691995b72c

js: add encoding parameter for encrypt return

Description

js: add encoding parameter for encrypt return

  • src/gpgme.js: In case the encryption was done unarmored, the result is binary data. Added an option to either return the binary data as base64-encoded string or as Uint8Array, similar to return values of decrypt

Details

Provenance
mkrambachAuthored on Aug 30 2018, 2:46 PM
Parents
rMa9863717b1b8: js: separate gpgme answer by type of data
Branches
Unknown
Tags
Unknown