brandonkahre/miva-password
最新稳定版本:1.0.0
Composer 安装命令:
composer require brandonkahre/miva-password
包简介
Generate and verify Miva Merchant 5 PR8-7 compatible password hashes.
README 文档
README
Miva_Password is a very simple library that can be used to generate and verify Miva Merchant 5 PR8-7 compatible password hashes using PHP.
⚠ Unmaintained Library
This library was written in 2013 and then completely abandoned. The library was updated in 2024 just out of a combination of a random itch and boredom, do not take that as a sign of an active library. Nobody uses this in production.
Installation
Installation can be done via Composer:
composer require brandonkahre/miva-password
Basic Usage
<?php use MivaPassword\Password as MivaPassword; // generate a random password $password = MivaPassword::generate(10); // generate a hash for a password $hash = MivaPassword::create_hash($password); // verify that the password matches that hash if (MivaPassword::verify($hash, $password)) { echo 'All is right in the world'; }
License
MivaPassword is licensed under the BSD 2-Clause License - see the LICENSE file for details.
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-2-Clause
- 更新时间: 2024-12-07