I'm using Spring Security with bcrypt for password security.
It's actually in a Grails application. When the application starts up I get:
"No such algorithm [bcrypt]"
I traced the error to the code in Spring security:
try {
return MessageDigest.getInstance(algorithm);
}
catch (NoSuchAlgorithmException e) {
throw new IllegalArgumentException("No such algorithm [" + algorithm + "]");
}
How do I install bcrypt into Java Security?
I'm running Oracle JDK 1.8.0_73-b02 on CentOS 7.