定制 arispati/php-encrypt-file 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

arispati/php-encrypt-file

Composer 安装命令:

composer require arispati/php-encrypt-file

包简介

PHP library for encrypt and decrypt file

README 文档

README

PHP library for encrypt and decrypt file

How to Install

  • Install with composer
composer require arispati/php-encrypt-file

How to Use

use Arispati\PhpEncryptFile\Crypt;

// by default use 'AES-256-CBC' cipher
// you can change it on the second argument
$crypt = new Crypt('your-secret-key');

// to encrypt
$crypt->encrypt('./path/to/plainFile.ext', './path/to/encryptedFile.ext');
// to decrypt
$crypt->decrypt('./path/to/encryptedFile.ext', './path/to/decryptedFile.ext');

Credits

  • Thanks to Antoine Lamé - Medium.

统计信息

  • 总下载量: 28
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 1
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-11-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固