There is this password hasher in java that was used for a java application.
public void Bcrypt () {
final String password = "akwetey12345661";
String hashedPwd = BCrypt.hashpw(password, BCrypt.gensalt());
final boolean t = BCrypt.checkpw(password,hashedPwd);
System.out.println("confirm encryption = " + t);
}
Now, I have an application in ASP.NET Core Web API that wants to access the DB that the application is using.
How do I convert it to ASP.NET Core, so that users can Login into the DB using ASP.NET Core instead of the Java?
Thanks