定制 jeffreyvanrossum/wp-simple-encryption 二次开发

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

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

jeffreyvanrossum/wp-simple-encryption

最新稳定版本:0.1.0

Composer 安装命令:

composer require jeffreyvanrossum/wp-simple-encryption

包简介

Package to allow for simple string encryption and decryption.

README 文档

README

vanrossum.dev Logo

Total Downloads Latest Stable Version License

WP Simple Encryption

A simple package to encrypt and decrypt strings in WordPress.

Installation

composer require jeffreyvanrossum/wp-simple-encryption

How it works

This package attempts to write a constant to your site's wp-config.php where the secret key is stored.

You may define the name of this constant when instantiating the WPSimpleEncryption class.

This package utilizes php-encryption for the encryption and decryption.

Usage

use Jeffreyvr\WPSimpleEncryption\WPSimpleEncryption;

$wp_simple_encryption = new WPSimpleEncryption('YOUR_SECRET_KEY_CONSTANT');

$wp_simple_encryption->encrypt('some unencrypted string');

$wp_simple_encryption->decrypt('some encrypted string');

Contributors

License

MIT. Please see the License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-09-12