New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

tp5er/think-hashing

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tp5er/think-hashing

The thinkphp Hashing package.

Source
Packagist
Version
1.0.0
Version published
Total downloads
155
Maintainers
1
Created
Source

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);

FAQs

Package last updated on 08 May 2024

Related posts