Download the PHP package swordying/crypter without Composer
On this page you can find all versions of the php package swordying/crypter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package crypter
RSA 加密解密
1、解决需求
- 当诸如 身份证号、银行卡号 直接存入数据库就有泄漏的风险,所以需要非对称加密后存储。但非对成加密后的密文无法用于数据库查询,所以需要在数据表中增加两个字段,1密文字段、2散列字段,从而达到字符串非对成加密后,依然可以进行数据库查询。
2、composer 安装
$ composer require swordying/crypter
1. 加密解密
2. 生成公钥私钥
3、备注
- 散列盐为:
$=$.salt.$=$
- 公钥文件:
./src/public.key
- 密钥文件:
./src/private.key
All versions of crypter with dependencies
PHP Build Version
Package Version
No informations.
The package swordying/crypter contains the following files
Loading the files please wait ....