On Mon, 2012-02-20 at 00:53 +0000, [email protected] wrote:
> I managed to adapt Clipperz's library to use ArrayBuffer and Uint8Array 
> classes:
> - https://github.com/gcsolaroli/javascript-crypto-library/tree/typed-array
> 
> It is just a simple adaptation of the old code to the new data
> structures; there is no automatic fallback for browsers without the
> new structures, and I haven't put any effort into profiling/optimizing
> the current code yet.

Cool! Let us know if there are performance improvements. However I think
you could have even better results switching to something like
"WordArray" that is using 32 bit values (and UInt32Array), for instance
in AES this would be great. SJCL, if I remember correctly, works on 32
bit values, infact they don't have a "ByteArray" but a "BitArray".
However I understand that this would almost mean a rewrite of a lot of
code.

venom00

_______________________________________________

http://openpgpjs.org

Reply via email to