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

Recommended Answers

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

Member Avatar for iamthwee

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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.