I\'m trying to implement authentication using BCrypt, in my Play 2.1. Java application, but I\'m getting Invalid salt version exception when I\'m trying to authenti
Invalid salt version exception
You have to make sure that the first argument is the plaintext and the second one is the hashed password. This is the function's declaration :
public static boolean checkpw(String plaintext, String hashed)