Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 149 Vote(s) - 3.34 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to hash password correctly in PHP?

#1
Hey, I am working on an authentication system, and therefor I find the need to hash the passwords like one should do.

So what I am wondering, how would one go about hashing a password in PHP. I guess there are multiple methods. The tutorial I am using is currently using

Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.


Thanks ^.^
Reply

#2
In my opinion everyone should use BlowFish
In php you can get the hash by:

Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.

And you verify it with:

Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.

Reply

#3
Salt your hashes and check out

[To see links please register here]

Reply

#4
Quote:(05-29-2017, 10:38 PM)n3r0x1d3 Wrote:

[To see links please register here]

Salt your hashes and check out

[To see links please register here]


I am already subscribed to that channel, which videoes are you recommending that I watch? The ones from Tom Scott?
Reply

#5
Tom's is good, but I also recommend Dr. Mike's updates like or , Then again I recommend all of their videos for everyone lol.
Reply

#6
Quote:(05-29-2017, 11:14 PM)n3r0x1d3 Wrote:

[To see links please register here]

Tom's is good, but I also recommend Dr. Mike's updates like or , Then again I recommend all of their videos for everyone lol.

I am quite sure I have watched both of them
Reply

#7
This tut might be of worth looking as well,

[To see links please register here]

Reply

#8
Quote:(05-30-2017, 06:49 AM)n3r0x1d3 Wrote:

[To see links please register here]

This tut might be of worth looking as well,

[To see links please register here]


It was a nice tut, but I am still not 100% sure how I would do it in a good manner
Reply

#9
Quote:(08-25-2017, 09:53 PM)Sikom Wrote:

[To see links please register here]

Quote: (08-25-2017, 09:51 PM)Jakub Wrote:

[To see links please register here]

Im hashing passwords on my websites/scripts using double md5 + salt and i personally prefer this way.

md5 is not really secure though is it?

i'm working with it for 1 year now and for now it's okay. But i have my own "hash" function so if double md5 with salt fails i will switch to my hash function
Reply

#10
Quote:(08-25-2017, 09:51 PM)Jakub Wrote:

[To see links please register here]

Im hashing passwords on my websites/scripts using double md5 + salt and i personally prefer this way.

md5 is not really secure though is it?
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through