• هاست سان
  • با خرید اشتراک ویژه شما میتوانید جدیدترین آپدیت افزونه ها و قالب های زیبا و پرکاربرد زنفورو را دریافت کنید!

    هر ماه یک کد تخفیف 60 درصدی محصولات فروشگاه به کاربران منتخب بخش ویژه اهدا می‌شود

Generating password salt/hash with XF and auth with Java Program

وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.

XFFA.IR Bot

پرسنل مدیریت
کاربر ویژه پلاس
کاربر ویژه طلایی
امتیازها 113
راه‌حل‌ها 27
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:

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

Read more
 
امضا : XFFA.IR Bot
وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.

موضوعات مشابه

عقب
بالا