定制 aufa/encryption 二次开发

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

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

aufa/encryption

Composer 安装命令:

composer require aufa/encryption

包简介

Another Encryption utility

README 文档

README

Another Encryption Helper

Build Status

Encrypt string or another type of value to encryption. by default encryption use mcrypt with: MCRYPT_RIJNDAEL_256 + MCRYPT_MODE_ECB and another encryption using alternative of str_rot13 and encoded by base64_encode

Encryption

/**
 * Using default encryption mcrypt
 */
Aufa\Encryption\Encryption::encrypt('string to encrypt', 'saltkey');

/**
 * Using alternative type
 */
Aufa\Encryption\Encryption::altEncrypt('string to encrypt', 'saltkey');

Decryption

/**
 * Decrypt encrypted string with auto detect encryption use
 */
Aufa\Encryption\Encryption::decrypt('string to decrypt', 'saltkey');

// or can use
Aufa\Encryption\Encryption::altDecrypt('string to decrypt', 'saltkey');

Install Using Composer

Composer is handy tool for adding library easily from packagist and another resource to your application. Get Install on here : https://getcomposer.org and install on your OS.

{
  "require": {
        "aufa/encryption" : "~1"
  }
}

Requirements

This library require php 5.3.2 or later. Suggest to enable mcrypt on your php configuration.

License

GPLv3 or later https://www.gnu.org/licenses/gpl-3.0.txt

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2015-12-13

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固