Title: Re: [openpgpjs] (no subject)
I'm not planning to use encrypted message with other software but for me is critical the size of the final PGP. I just don't see the big difference between bytes in ArrayBuffer and bytes in string, so why should we have a loss of data size in this case?
May be i don't understood some little details? Can you explain please...




2014-10-21 16:39 GMT-03:00 Fernando Schuindt <[email protected]>:
I don't know whats happening with your email list, but your message don't have subject.
Talking about your question, did you tried to convert the buffer objects to json and them encrypt them once it's became a string?

var buffer = new ArrayBuffer(12);
var string = JSON.stringify(buffer); // It's a string now.

I thinks it isn't a good idea... 
If you need encrypt something to use internally, you can use base64 (for example). 
But if you need it compatible with the rest of world's software, it wont work.



-- 
Exos ~  (>‿◠)✌
Linked'in: 
http://www.linkedin.com/in/ogexos
Twitter: @exos, Indeti.ca: @exos
Cel:  [+54 9 11] 6133-2442

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/IT d-- s++:* a- C+++$ UBL+++$ P(-) L+++$ !E--- W+++$ !N !o K-? !w--- !O !M-- V? PS+++@ !PE Y+(++) PGP++ !t--- !5 X++ R(+) tv--(!) b- DI D-- G e@ h>++ r--- y*>+++++
------END GEEK CODE BLOCK------ 




-- 
С уважением,
 Maria                          
mailto:[email protected]
_______________________________________________

http://openpgpjs.org
Subscribe/unsubscribe: http://list.openpgpjs.org

Reply via email to