diff options
author | Maximilian Krambach <[email protected]> | 2018-08-22 14:32:31 +0000 |
---|---|---|
committer | Maximilian Krambach <[email protected]> | 2018-08-22 14:32:31 +0000 |
commit | 129fa919b935d97d995bc6b457c7f6984c06e825 (patch) | |
tree | d25245b9ae7634acd99d713e12832fd97c988af0 /lang/js/DemoExtension/maindemo.js | |
parent | js: Return error if signature has no fingerprint (diff) | |
download | gpgme-129fa919b935d97d995bc6b457c7f6984c06e825.tar.gz gpgme-129fa919b935d97d995bc6b457c7f6984c06e825.zip |
js: improve decryption performance
--
* src/Connection.js, src/Helpers.js: performance of decoding incoming
base64 data was improved to about 4 times the speed by introducing
two more efficient functions (thanks to [email protected] for
finding and testing them)
* src/gpgmejs.js: Decrypted data will now return as Uint8Array, if the
caller does not wish for a decoding. Decoding binary data will return
invalid data, and a Uint8Array may be desired. This can be indicated
by using the (new) 'binary' option in decrypt.
* src/Errors.js A new error in case this decoding fails
* src/Message.js, src/Connection.js: expected is change from base64
to binary, to avoid confusion later on.
Diffstat (limited to 'lang/js/DemoExtension/maindemo.js')
0 files changed, 0 insertions, 0 deletions