Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Releases
CMS Releases
RevCMS BCRYPT
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="CosmoPeak" data-source="post: 412478" data-attributes="member: 68352"><p>Does this even work? <img src="/styles/default/xenforo/smilies/emojione/confused.png" class="smilie" loading="lazy" alt=":confused:" title="Confused :confused:" data-shortname=":confused:" /></p><p></p><p>password_verify takes 2 arguments and you can't compare it by doing a database request as the password will have a different hash every time it's called (as bcrypt uses a salt).</p><p></p><p>You need to get the password hash from the database for the user and call password_verify on it with the plaintext password from the user input.</p></blockquote><p></p>
[QUOTE="CosmoPeak, post: 412478, member: 68352"] Does this even work? o.O password_verify takes 2 arguments and you can't compare it by doing a database request as the password will have a different hash every time it's called (as bcrypt uses a salt). You need to get the password hash from the database for the user and call password_verify on it with the plaintext password from the user input. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Releases
CMS Releases
RevCMS BCRYPT
Top