RSS Feed/News Generating password salt/hash with XF and auth with Java Program

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
24,700
Points
823

Reputation:

Hello!

I am trying to authenticate user credentials against my XF database. I am using the https://github.com/patrickfav/bcrypt library in java to check the secret key stored in the database. However my tests are failing.

Here is the code:
Java:

Code:
public static void main(String[] args) {
    // Testing Bcrypt:
    // Xf Secret key (from XF database): 394c395363326f4c543173595f676d4a63786341446236523376494346704a67
    String password = "abc123";
    String version = "$2a$10$"...

Read more

Continue reading...
 
Status
Not open for further replies.
Top