samihsoylu / cipher-suite-php
Defuse PHP-Encryption 库的轻量级 PHP 封装,旨在简化密钥管理、会话密钥编码和数据加密/解密。非常适合寻求简单集成加密解决方案的开发者。
v2.0.0
2023-09-24 12:34 UTC
Requires
- php: ^8.0
- ext-openssl: *
- defuse/php-encryption: ^2.4
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.25
- pestphp/pest: ^1.23
README
CipherSuite 是 Defuse PHP-Encryption 库的轻量级 PHP 封装,旨在简化密钥管理、会话密钥编码和数据加密/解密。非常适合寻求简单将加密操作集成到其应用程序中的开发者。
特性
- 用于生成数据库存储的保护密钥的简单易用 API
- 编码和解码会话密钥的便捷方法
- 简化的加密和解密方法
- 支持密码更新
要求
- PHP 8.0 或更高版本
安装
composer require samihsoylu/cipher-suite-php
使用
- 在 Notion 文档 中了解更多信息