Sign in to follow this  
Steve Scott

[HELP] IPB 4 Forum hash

Recommended Posts

Hello community.

I have created a login panel that uses the database of an IPB4 forum, but I have to know how I could hash the users password as the forum does so that I can compare the two passwords. How could I do it in lua? 

Thanks in advance! 

Share this post

Link to post
1 hour ago, stPatrick said:


Yes I have read this topic, but this topic is about IPB 3.3.4 and IPB has changed its encryption method in version 4. 😪

Share this post

Link to post

I think it should work:

local password = ""
local salt = ""

passwordVerify ( password, "$2a$13$" .. salt, { insecureBcrypt = true },
	function ( correct )
		print ( correct )


Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.