|
From: Tom S. <to...@op...> - 2015-04-01 13:10:22
|
Hi Stefan, On 15/03/15 21:41, Stefan Xenon wrote: > A while ago we did some tests and found that native JS may be > problematic because it is very slow for some of our crypto operations. > We concluded that a native "module" would be a good choice when using > Phonegap. This module would be native platform code (e.g. Java for > Android) and perform the crypto calculation. Do you have experience in > using such? Out of interest what were the performance problems in doing this using browser crypto? I'd have thought that with faster browsers, and built in random number generation this should perform quite well by now. In firefox and chrome and probably IE12 there is asm.js support - making implementations potentially significantly faster: https://github.com/vibornoff/asmcrypto.js/tree/master/src Anyway, just interested to know where the bottleneck would be? Thanks, Tom |