I use md5(), but what is better that md5

Recommended Answers

I believe you mean hashing instead of encrypting? There are other hashing algorithms such as SHA1 and SHA256 that would be considered stronger than MD5.

Jump to Post

All 4 Replies

I believe you mean hashing instead of encrypting? There are other hashing algorithms such as SHA1 and SHA256 that would be considered stronger than MD5.

Thank you

Yes using the crypt() function is probably the recommended course of action nowadays. It is supported in 5.3 I think which is what your servers should be on. It's pretty simple to use as well.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.