PHP to include modern cryptographic libraries

Security is an increasingly important concept in day to day and, fortunately, is increasingly of interest to developers. When a developer creates a program with a particular programming language, he usually has to implement by hand a series of additional libraries that allow his tool or platform to use, for example, cryptographic libraries for cryptographic functions with which developers can protect its users, especially in everything related to the Internet.

PHP is the first language to include modern cryptographic libraries

PHP is a server-side programming language widely used in the development of dynamic content web pages such as blogs. In order to make the developments with this programming language as safe as possible, members of the PHP team have voted to include Libsodium’s cryptographic libraries in the native language , thus becoming the first modern programming language to include This type of default libraries so that developers do not rely on third-party libraries.

These new libraries will come to this programming language natively with the arrival of PHP 7.2 , scheduled for late 2017. As their developers say, one of the main reasons why this decision has been made is because WordPress, the CMS most used worldwide, does not have this type of default libraries and most users do not install them manually. If PHP implements such libraries natively, blogs can be much more secure by default and also eliminate the need to use third-party extensions. The shared hosting can also benefit from this improved security.

Those responsible for this programming language will update the documentation so that all developers know how to use such libraries, but assure that it will be very simple and no programmer should have problems to call them or to update their projects to the new version 7.2 that Already includes these new cryptographic functions.

PHP Online Course

No other programming language has yet taken the step that has given PHP towards greater security
It is curious that it is PHP and not other languages like Go or Erang the first programming language in implementing these security libraries natively. Sure, throughout 2018, many other languages will follow in the steps of this, will be updated and implemented different security libraries natively to allow developers to create much more secure platforms.

Anyway, we remember that PHP 7.2 will not arrive until the end of the year , since there is still much work ahead to integrate these libraries and ensure the correct functioning of the entire language, so the latest version of this programming language is 7.1.2, so if we are creating a platform in this language now or we use a CMS based on it, these libraries are not yet available natively and it is up to us to protect the infrastructure properly.

Do you think all programming languages should have such cryptographic libraries natively?