Seeing this commit[0] I ask: Is there any reason to use Uint8Array instead of Buffer? actually I mean it from the ignorance of whether or not this improves something. Especially considering that the block sizes used for encryption are usually of 32 or 64 (or 4 and 8 octets), then the best option would be to work with Uint32Array or Buffer that allows working with reads/writings of 8, 16 and 32 bits of the same buffer.
Indeed, knowing this I wonder if it has any real effect in terms of performance or other, just ask curiously. 0: https://github.com/evilaliv3/openpgpjs/commit/b0f3cf4ff00776f9304d883e1f7ad8ad5bb818d6 PS: Sorry my poor english El vie., 24 de jul. de 2015 a la(s) 7:51 p. m., Giovanni Pellerano < [email protected]> escribió: > the basic patch is here: https://github.com/evilaliv3/openpgpjs > > but i'm finalizing it with a new more clean solution (and even really > improved by reusing buffers) and i will disclose it finalized tomorrow > or the day after :) > _______________________________________________ > > http://openpgpjs.org > Subscribe/unsubscribe: http://list.openpgpjs.org >
_______________________________________________ http://openpgpjs.org Subscribe/unsubscribe: http://list.openpgpjs.org

