W. John
W. John

Reputation: 55

Modern php hashing algorithm

I'm developing a new system and I wondered if my oldschool phpass is still the best option for hashing in php?

I'm looking for the best security, and I heard that blowfish is outdated. DES is old.

So what will you guys recommend for a new php system? I need something that is future-proof as replacing the algorithm after the release is a pain.

Thanks in advance.

Upvotes: 2

Views: 185

Answers (2)

user4925382
user4925382

Reputation:

PHP 5.5 has a built in password_hash() and password_verify() function and it is very powerful.

The docs

How to on stackoverflow

Make sure your php version is 5.5 or above before you try to implement it.

Upvotes: 3

Alex Kobzin
Alex Kobzin

Reputation: 69

You can look at Mhash php extention, mhash() and SHA-512 as algorythm

Upvotes: -1

Related Questions