defuse/php-encryption
's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.Name | Version | Size | License | Type | Vulnerabilities |
---|---|---|---|---|---|
paragonie/random_compat | v9.99.100 | 5.93 kB | MIT | prod |
Defuse/php-encryption is a secure PHP encryption library designed for encrypting data with a key or password. This robust library requires PHP 5.6 or newer and OpenSSL 1.0.1 or newer to function correctly. Crafted by Taylor Hornby and Scott Arciszewski, along with the support of several open-source contributors, this tool stands out due to its robust security and the fact that it's "difficult to misuse". The API design strives to be both user-friendly and resilient against use in insecure ways.
To start using defuse/php-encryption, you'll first need to install it using Composer by running the following command:
composer require defuse/php-encryption
Following installation, you can dive into the Tutorial to learn the basics about how to use the library.
Once you have an understanding of the fundamentals, you can refer to the official documentation provided for each class the library offers. These are:
Alongside these resources, there are also practical examples available at the following projects: encutil and fileencrypt.
Moreover, if you run into any problem, consult the FAQ section.
The complete documentation for the defuse/php-encryption library can be accessed via their GitHub repository. It provides a thorough guide to start using the tool, a series of class explanations, an FAQ section, and more. The main documentation resources are:
These all combine to provide valuable insights to help users understand more deeply how to utilise the defuse/php-encryption library effectively.