PHPackages                             nsp-team/crypt-tool - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Security](/categories/security)
4. /
5. nsp-team/crypt-tool

ActiveLibrary[Security](/categories/security)

nsp-team/crypt-tool
===================

crypt

1.0.0(4y ago)02Apache-2.0PHPPHP &gt;=5.6.1

Since Nov 10Pushed 4y agoCompare

[ Source](https://github.com/nsp-team/crypt-tool)[ Packagist](https://packagist.org/packages/nsp-team/crypt-tool)[ RSS](/packages/nsp-team-crypt-tool/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/7a2be39d93a944b355a64e96641c555da3bfecc28abd3950349c7e650546f2b1/687474703a2f2f706f7365722e707567782e6f72672f6e73702d7465616d2f63727970742d746f6f6c2f76)](https://packagist.org/packages/nsp-team/crypt-tool)[![Total Downloads](https://camo.githubusercontent.com/2e260d4937567d86203d532590b72386e005c288484b021122ae0dd624187fd0/687474703a2f2f706f7365722e707567782e6f72672f6e73702d7465616d2f63727970742d746f6f6c2f646f776e6c6f616473)](https://packagist.org/packages/nsp-team/crypt-tool)[![Latest Unstable Version](https://camo.githubusercontent.com/04fb1f804c61591705736c6fa93aa1528d7c29832f4d5b143aea377d5a84578a/687474703a2f2f706f7365722e707567782e6f72672f6e73702d7465616d2f63727970742d746f6f6c2f762f756e737461626c65)](https://packagist.org/packages/nsp-team/crypt-tool)[![License](https://camo.githubusercontent.com/feb8ddf3df2876ddfcb8f9a3cde9344db2949030c6bfa7a1315538e941d0bd60/687474703a2f2f706f7365722e707567782e6f72672f6e73702d7465616d2f63727970742d746f6f6c2f6c6963656e7365)](https://packagist.org/packages/nsp-team/crypt-tool)[![PHP Version Require](https://camo.githubusercontent.com/8b0b8b7748b40577de1b286cd8d3b309a5e0578a4080286bd27b495ef4e226f3/687474703a2f2f706f7365722e707567782e6f72672f6e73702d7465616d2f63727970742d746f6f6c2f726571756972652f706870)](https://packagist.org/packages/nsp-team/crypt-tool)

Summary
=======

[](#summary)

crypt包为phpseclib AES-128库创建了一个简单的接口。它的接口允许使用base64编码层对字符串进行加密和解密，以便于传输，包括初始化向量。.

Installation
============

[](#installation)

```
composer require nsp-team/crypt-tool:~1.0.0
```

Usage
=====

[](#usage)

Before using the library, you need to choose a secret key, which should be of size 16, 24 or 32 only.

```
