calastinone avatar

PHP now supports Next-Gen password hasing algorithm Argon2

calastinone

Published: 02 Dec 2017 › Updated: 02 Dec 2017PHP now supports Next-Gen password hasing algorithm Argon2

PHP now supports Next-Gen password hasing algorithm Argon2

This week PHP released 7.2. I just now had a chance to look under the hood. It seems PHP's security has stepped up to the plate on this version. I was surprised by the improvements & support for cryptoGraphy & password hashing algorithms.

The new PHP 7.2 uses Argon2. This is a password hashing algorithm. Argon2 is working its way up to be the standard when it comes to Bcrypt. Argon2 has been added to the core. You can use it via password_hash() function.

I noticed Mcrypt has been removed and replaced with Libsodium. I think Mcrypt was inside the core for a while, they decided to replace it with Libsodium its basically a modern cypto. The developers decided to add this to the core instead of external codes to add in to the library. Those seem to be two major changes to the new version, there are other features they added and improved I haven't looked into those features deeper.

Leave PHP now supports Next-Gen password hasing algorithm Argon2 to:

Written by

Over fifteen years of experience working in sales and marketing with a degree in Business Management and a Web Developers Certification. Web design, web develop

Read more #new posts


Best Posts From calastinone

We have not curated any of calastinone's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From calastinone