https://github.com/pkg6/think-hashing
The thinkphp Hashing package.
https://github.com/pkg6/think-hashing
hash hashing thinkphp
Last synced: 3 months 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 (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-11T05:06:29.000Z (7 months ago)
- Last Synced: 2025-04-16T07:20:36.481Z (3 months 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);
~~~