AES acceleration for Java

Posted by chris_l on Stack Overflow See other posts from Stack Overflow or by chris_l
Published on 2010-06-15T13:22:52Z Indexed on 2010/06/15 20:02 UTC
Read the original article Hit count: 263

Filed under:
|
|

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 may need to improve that in the future - or at least reduce the impact on the CPU.

  • Is it possible to use dedicated AES encryption hardware with Java (using JCE, or maybe a different API)?
  • Would Java take advantage of special CPU features (SSE5?!), if I get a better CPU?
  • Or are there faster JCE providers? (I tried SunJCE and BouncyCastle - no big difference.)
  • Other possiblilities?

© Stack Overflow or respective owner

Related posts about java

Related posts about encryption