PHP Classes

Notable PHP package: PHP Sodium Compat

Recommend this page to a friend!
  Blog PHP Classes blog   RSS 1.0 feed RSS 2.0 feed   Blog Notable PHP package: ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  

Author:

Viewers: 176

Last month viewers: 2

Categories: Notable Packages

Many PHP projects use the mcrypt extension to implement features that require encrypting, decrypting or hashing of data. However, mcrypt will be removed from PHP 7.2 core distribution because extension is based on code that is not maintained for more than 8 years.

Alternatively, developers should use the sodium extension that is now available in PECL and will make part of the PHP 7.2 core distribution.

This class provides a polyfill for sodium extension, so you can use it in your current PHP projects to prepare for PHP 7.2 upgrade, even if you are using an older PHP version and the PECL sodium extension is not available.

Read this article to learn more details about how this notable PHP package works.




Loaded Article
The package PHP Sodium Compat is one of the few PHP packages that was considered notable recently because it does something that is worth paying attention.

The basic purpose is: Cryptographic functions of libsodium in pure PHP

Here follows in more detail what it does:

This package provides cryptographic functions of libsodium in pure PHP.

It is a polyfill library for ext/sodium written as pure PHP classes that works since PHP 5.2.4.

The libsodium extension provides classes to generate random data, secret key and public key cryptography including X25519 and Ed25519, hashing, etc..

Notable PHP packages can be often considered innovative. If this package is also innovative, it can be nominated to the PHP Innovation Award and the author may win prizes and recognition for sharing innovative packages.

If you also developed your own notable or innovative packages consider sharing them, so you can also earn more visibility for your package.



You need to be a registered user or login to post a comment

Login Immediately with your account on:



Comments:

No comments were submitted yet.



  Blog PHP Classes blog   RSS 1.0 feed RSS 2.0 feed   Blog Notable PHP package: ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)