mirrorgdit/php-encdec

类似手机号码等数字串的加密解密

v1.1 2019-08-14 07:49 UTC

This package is auto-updated.

Last update: 2024-11-14 20:13:10 UTC


README

Latest Stable Version Total Downloads License

安装

composer require mirrorgdit/php-encdec

Demo

require_once './vendor/autoload.php';

use mirrorgdit\encdec\Encdec;

$decStr = Encdec::dec2any("18612345678");
$anyStr = Encdec::any2dec($decStr);

echo "将手机号码加密后:".$decStr;
echo "<br>";
echo "将加密后的串解密:".$anyStr;

问题反馈

在使用中有任何问题,欢迎反馈给我,可以用以下联系方式跟我交流

mirrorgdit@163.com