blueprint/l2encrypt 问题修复 & 功能扩展

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

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

blueprint/l2encrypt

Composer 安装命令:

composer require blueprint/l2encrypt

包简介

LineageII Password Encrypt

README 文档

README

LineageII PHP Encryption Library.

Installation

composer require blueprint/l2encrypt

Usage

<?php

use Blueprint\L2encrypt;

$value = 'EncryptMe';

$encryptedValue = L2encrypt::encrypt($value);
echo $encryptedValue; // Output: 0x35d069fe4fe03fe6f7dbb4b578e2c4c4

Aliases

userPassword & userAnswer is a alias for the main method encrypt.

<?php

use Blueprint\L2encrypt;

$_POST['password'] = 'test';
$password = $_POST['password'];

$encryptedPassword = L2encrypt::userPassword($password);
echo $encryptedPassword; // Output: 0xb53b56edac3b1d1d28b197975ac0e6e6
<?php

use Blueprint\L2encrypt;

$_POST['answer'] = 'LineageLover';
$answer = $_POST['answer'];

$encryptedAnswer = L2encrypt::userAnswer($answer);
echo $encryptedAnswer; // Output: 0xa51f521f9e296f8a57d71d65a8321414

Credits

  • Unknown Author

License

MIT

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-04-21

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固