Slow AES GCM encryption and decryption with Java 8u20
Micro-benchmarking aside, the performance of the GCM implementation in JDK 8 (at least up to 1.8.0_25) is crippled. I can consistently reproduce the 3MB/s (on a Haswell i7 laptop) with a more mature micro-benchmark. From a code dive, this appears to be due to a naive multiplier implementation and no hardware acceleration for the GCM … Read more