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

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
Hello!

I am trying to authenticate user credentials against my XF database. I am using the GitHub - patrickfav/bcrypt: A Java standalone implementation of the bcrypt password hash function. Based on the Blowfish cipher it is the default password hash algorithm for OpenBSD and other systems including some Linux distributions. Includes a CLI Tool. 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
Read more about this Feed . . .
 
Status
Not open for further replies.
Back
Top Bottom