承接 ae8/tokenizer 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

ae8/tokenizer

最新稳定版本:2.1

Composer 安装命令:

composer require ae8/tokenizer

包简介

A simple PHP library for token-based encryption.

README 文档

README

Tokenizer is a simple PHP library for creating and validating token-based encryption.

Description

It is a simple and secure way to encrypt data generating small tokens that can be used as a parameter. It is useful for creating URLs with encrypted data, such as password reset links, email verification links, and more.

Installation

Tokenizer is available on Packagist, and installation via Composer is the recommended way to install Tokenizer. Just add this line to your composer.json file:

"ae8/tokenizer": "^1.5"

or run

composer require ae8/tokenizer

Note that the vendor folder and the vendor/autoload.php script are generated by Composer; they are not part of Tokenizer.

Usage

use AE8\Tokenizer\Tokenizer;

// Encrypt a value
$encrypted = Tokenizer::criptografar('Tokenizer');

// Decrypt a value
$decrypted = Tokenizer::descriptografar($encrypted);

echo $encrypted . PHP_EOL;
echo $decrypted . PHP_EOL;

Developer

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-07-23