# encryption **Repository Path**: zhujinkui/encryption ## Basic Information - **Project Name**: encryption - **Description**: Encryption class library - **Primary Language**: PHP - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2020-12-08 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 加密解密 =========== # 环境要求 1. php>=7.2 2. openssl扩展 # 开始使用 `` composer require zhujinkui/encryption `` + 简单使用 ```` encode('d12347477'); var_dump($result->getRes()); //解密 $dres = $encryption->key($result->getKey())->iv($result->getIv())->decode($result->getRes()); var_dump($dres->getRes()); ```` # LICENSE [MIT]('./LICENSE')