generate-defuse-key

Simple Encryption in PHP

Install

All systems
curl cmd.cat/generate-defuse-key.sh
Debian Debian
apt-get install php-defuse-php-encryption
Ubuntu
apt-get install php-defuse-php-encryption
image/svg+xml Kali Linux
apt-get install php-defuse-php-encryption
Windows (WSL2)
sudo apt-get update sudo apt-get install php-defuse-php-encryption

php-defuse-php-encryption

Simple Encryption in PHP

This is a library for encrypting data with a key or password in PHP. What separates this library from other PHP encryption libraries is, firstly, that it is secure. The authors used to encounter insecure PHP encryption code on a daily basis, so they created this library to bring more security to the ecosystem. Secondly, this library is "difficult to misuse." Like libsodium, its API is designed to be easy to use in a secure way and hard to use in an insecure way.