Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pkg6/think-hashing
The thinkphp Hashing package.
https://github.com/pkg6/think-hashing
hash hashing thinkphp
Last synced: 7 days ago
JSON representation
The thinkphp Hashing package.
- Host: GitHub
- URL: https://github.com/pkg6/think-hashing
- Owner: pkg6
- License: mit
- Created: 2024-05-05T02:33:31.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-05-08T09:59:51.000Z (6 months ago)
- Last Synced: 2024-10-20T11:53:45.413Z (29 days ago)
- Topics: hash, hashing, thinkphp
- Language: PHP
- Homepage: https://packagist.org/packages/tp5er/think-hashing
- Size: 6.84 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# think-hashing
The thinkphp Hashing package.# 安装
~~~
composer require tp5er/think-hashing
~~~# 使用
~~~
use tp5er\think\hashing\facade\Hash;//加密
$hashedValue= Hash::make("123456");
//验证密码是否有效
$check = Hash::check("123456",$hashedValue);//加密
$hashedValue = hash_make("123456");
//验证密码是否有效
hash_check("123456",$hashedValue);
~~~