PHP Classes
PHP Classes
elePHPant
Icontem

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:

Posted on:

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.




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

1,460,522 PHP developers registered to the PHP Classes site.
Be One of Us!

Login Immediately with your account on:

FacebookGmail
HotmailStackOverflow
GitHubYahoo


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)