Kaushik LV
Kaushik LV

Reputation: 11

PBKDF2WithSHA512-256 SecretKeyFactory not available error while using JDK11.0.17

We have recently upgraded to JDK 11.0.17 and when I try to call -

SecretKeyFactory.getInstance("PBKDF2WithSHA512-256");

I am getting the following exception -

java.security.NoSuchAlgorithmException: PBKDF2WithSHA512-256 SecretKeyFactory not available

The same code is working when I use JDK 11.0.1. Has the behaviour changed with the JDK upgrade? If so, can anyone suggest a workaround for this?

Upvotes: 1

Views: 318

Answers (0)

Related Questions