Click here to Skip to main content
15,885,366 members
Please Sign up or sign in to vote.
1.50/5 (2 votes)
Hi when I execute
String pw_hash = BCrypt.hashpw(request.getParameter("password"), BCrypt.gensalt());
There is an error , BCrypt cannot be resolved, need to create a class bcrypt, how do I solve this?
Posted
Comments
[no name] 14-Sep-14 10:05am    
Read error. Create a class called "BCrypt" for your java project and then include it in your project.
Member 10462521 14-Sep-14 10:10am    
I am using bcrypt algorithm to hash my passwords , so why do I need to create a class for it

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900