文件名称:tinyID:缩短和混淆ID
文件大小:9KB
文件格式:ZIP
更新时间:2024-04-09 16:11:31
php encoding obfuscate id hash
缩短和混淆ID 概要 use TinyID \ TinyID ; include __DIR__ . '/../vendor/autoload.php' ; // dictionary must consist of at least two UNIQUE unicode characters. $ tinyId = new TinyID ( '2BjLhRduC6Tb8Q5cEk9oxnFaWUDpOlGAgwYzNre7tI4yqPvXm0KSV1fJs3ZiHM' ); var_dump ( $ tinyId -> encode ( '48888851145' )); // will print 1FN7Ab var_dump ( $ tinyId -> decode ( '1FN7Ab' )); // w
【文件预览】:
tinyID-master
----composer.json(671B)
----.travis.yml(249B)
----phpunit.xml(629B)
----example()
--------example.php(770B)
----tests()
--------Unit()
----LICENSE(1KB)
----src()
--------TinyID()
----.gitignore(31B)
----README.md(4KB)