AES acceleration for Java

后端 未结 6 1477
遥遥无期
遥遥无期 2020-12-03 10:47

I want to encrypt/decrypt lots of small (2-10kB) pieces of data. The performance is ok for now: On a Core2Duo, I get about 90 MBytes/s AES256 (when using 2 threads). But I m

6条回答
  •  一整个雨季
    2020-12-03 11:23

    You can benefit from improved AES speeds by using SunPKCS11 security provider together with mozilla-nss library.

    Setup is described at

    • Improved Advanced Encryption Standard (AES) Crypto performance on Java with NSS using Intel® AES-NI Instructions
    • and JavaTM PKCS#11 Reference Guide

提交回复
热议问题