I am trying to encrypt my password prior to storing in my remote database but I get an error saying
"Classes from the default package must not be referenced from JSP
Where else should I reference it? I am having BCrypt as a jar file in my lib folder.
//Code at JSP file
//This line causes error
String hashed = BCrypt.hashpw(password, BCrypt.gensalt());