【24h】

Symmetric Cryptography in Javascript

机译:JavaScript中的对称密码学

获取原文

摘要

We take a systematic approach to developing a symmetric cryptography library in Javascript. We study various strategies for optimizing the code for the Javascript interpreter, and observe that traditional crypto optimization techniques do not apply when implemented in Javascript. We propose a number of optimizations that reduce both running time and code size. Our optimized library is about four times faster and 12% smaller than the fastest and smallest existing symmetric Javascript encryption libraries. On Internet Explorer 8, our library is about 11 times faster than the fastest previously existing code. In addition, we show that certain symmetric systems that are faster than AES when implemented in native x86 code, are in fact much slower than AES when implemented in Javascript. As a result, the choice of ciphers for a Javascript crypto library may be substantially different from the choice of ciphers when implementing crypto natively. Finally, we study the problem of generating strong randomness in Javascript and give extensive measurements validating our techniques.
机译:我们采用系统的方法来开发Javascript中的对称密码库。我们研究了用于优化Java解释器代码的各种策略,并观察到传统的加密优化技术在以Javascript实现时不适用。我们提出了许多优化措施,可以减少运行时间和代码大小。我们优化的库比最快和最小的现有对称Javascript加密库快约四倍,小12%。在Internet Explorer 8上,我们的库比以前最快的现有代码快11倍。此外,我们证明了某些对称系统在以本机x86代码实现时比AES快,而实际上在以Javascript实现时比AES慢得多。结果,JavaScript密码库的密码选择可能与本地实现密码时的密码选择大不相同。最后,我们研究了在Javascript中产生强随机性的问题,并进行了大量测试以验证我们的技术。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号