steein/cryptopad 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

steein/cryptopad

Composer 安装命令:

composer require steein/cryptopad

包简介

This component provides a secure encryption using AES-256-CBC..

README 文档

README

This component provides a secure encryption using AES-256-CBC.

Version PHP : >= 7.0

$crypto = new \SteeinCrypt\CryptoPad();

//Test key and global key
$key        = 'rUhidagNflImJ3wB';
$global_key = '%31.1e$i86e$f!8jz';

Standard encryption text

$encrypt = $crypto->encrypt('default text', $key);
echo $encrypt;

Standard decryption text

$decrypt = $crypto->decrypt($encrypt, $key);
echo $decrypt;

Encryption and Decryption of text in base64

$encryptBase64 = $crypto->encryptBase64('base64_encrypt', $key, true);
$crypto->decryptBase64($encryptBase64, $key, true);

Encryption using the global key

$global_crypt = $crypto
    ->setKey($global_key)
    ->encrypt('default_text', $key);
$crypto->decrypt($global_crypt, $key);

Support or Contact

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-01-01

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固