xin/encryption

This package is abandoned and no longer maintained. No replacement package was suggested.

基于 openssl_encrypt 与 openssl_decrypt 封装的数据加解密类库

This package's canonical repository appears to be gone and the package has been frozen as a result. Email us for help if needed.

Installs: 18

Dependents: 0

Suggesters: 0

Security: 0

pkg:composer/xin/encryption

v1.0.2 2022-06-09 16:09 UTC

This package is auto-updated.

Last update: 2025-09-29 03:30:24 UTC


README

介绍

基于 openssl_encrypt 与 openssl_decrypt 封装的数据加解密类库

安装教程

composer require xin/encryption

使用说明

<?php
$encrypter = new Xin\Encryption\Encrypter('1234567');
$encryptData = $encrypter->encrypt('hello');
$decryptData = $encrypter->decrypt($encryptData);

参与贡献

  1. Fork 本仓库
  2. 新建 Feat_xxx 分支
  3. 提交代码
  4. 新建 Pull Request

特技

  1. 使用 Readme_XXX.md 来支持不同的语言,例如 Readme_en.md, Readme_zh.md