PHPackages                             hashyoo/des3 - 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. hashyoo/des3

ActiveLibrary[Security](/categories/security)

hashyoo/des3
============

Des3解密、加密，对laravel支持更友好

v1.1.0(5y ago)027MITPHPPHP &gt;=5.3.9

Since Aug 3Pushed 5y ago1 watchersCompare

[ Source](https://github.com/hashyoo/des3)[ Packagist](https://packagist.org/packages/hashyoo/des3)[ RSS](/packages/hashyoo-des3/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (4)Used By (0)

Hashyoo 3DES
============

[](#hashyoo-3des)

Hashyoo 3DES加密解密，使用openssl，必须有openssl扩展

### 安装方法

[](#安装方法)

```
composer require hashyoo/des3
```

### 配置方法

[](#配置方法)

配置加密key和iv,如下。也可动态使用key和iv

```
config文件夹下创建hashyoo-des3.php
php artisan vendor:publish --provider="HashyooDes3\Providers\Des3Provider"
```

### 使用方法

[](#使用方法)

```
