re2bit / secrets
Core PHP Library for encrypting secrets, based on libsodium
1.0.0-alpha.1.1
2024-06-17 14:53 UTC
Requires
- php: ^7|^8
- ext-json: *
Requires (Dev)
- phpunit/phpunit: ^3|^4|^5|^6|^7|^8|^9
- roave/security-advisories: dev-latest
- symfony/dotenv: *
- symfony/filesystem: *
Suggests
- ext-sodium: *
- paragonie/sodium_compat: ^1.20
This package is auto-updated.
Last update: 2025-03-17 16:31:15 UTC
README
This library offers a secure way to manage sensitive information, inspired by the Symfony Secrets feature.
It's designed for PHP 7.0 compatibility, leveraging modern cryptography with the Sodium extension or paragonie/sodium_compat
.
Requirements
- PHP 7.0 or newer
- Sodium PHP extension or
paragonie/sodium_compat
Setting Up
Ensure you have the Sodium extension enabled or paragonie/sodium_compat
installed.
License
This package is available under MIT.
Acknowledgments
This library is based and inspired by the work of:
- Tobias Schultze
- Jérémy Derussé
- Nicolas Grekas
from the Symfony framework. It has been adapted for PHP 7.0 with a focus on using Sodium for encryption.