arispati/laravel-encrypt-file
Composer 安装命令:
composer require arispati/laravel-encrypt-file
包简介
Laravel package for encrypt and decrypt file
README 文档
README
Laravel library for encrypt and decrypt file
How to Install
- Install with composer
composer require arispati/laravel-encrypt-file
How to Use
use Arispati\LaravelEncryptFile\Crypt; // set file path $source = Storage::disk('local')->path('image.jpg'); $encrypted = Storage::disk('local')->path('encrypted.jpg'); $decrypted = Storage::disk('local')->path('decrypted.jpg'); // Encrypt the file Crypt::encrypt($source, $encrypted); // Decrypt the file Crypt::decrypt($encrypted, $decrypted);
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-11-12