marko/encryption-openssl
最新稳定版本:0.5.0
Composer 安装命令:
composer require marko/encryption-openssl
包简介
OpenSSL encryption driver for Marko Framework
README 文档
README
OpenSSL encryption driver --- encrypts and decrypts data using AES-256-GCM with authenticated encryption.
Installation
composer require marko/encryption-openssl
Requires the ext-openssl PHP extension. Automatically installs marko/encryption.
Quick Example
use Marko\Encryption\Contracts\EncryptorInterface; class SecureStorage { public function __construct( private EncryptorInterface $encryptor, ) {} public function store(string $sensitiveData): string { return $this->encryptor->encrypt($sensitiveData); } public function retrieve(string $encrypted): string { return $this->encryptor->decrypt($encrypted); } }
Documentation
Full usage, API reference, and examples: marko/encryption-openssl
统计信息
- 总下载量: 71
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-03-24