承接 esolitos/pwnedpasswords 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

esolitos/pwnedpasswords

最新稳定版本:1.0.2

Composer 安装命令:

composer require esolitos/pwnedpasswords

包简介

Generic service to query Troy's pwnedpasswords.com service.

README 文档

README

Generic php service built to query Troy Hunt's https://pwnedpasswords.com API service and let you know how "broken" is your password, without actually sending your password.

More info about this on Troy's first blog post (about Pwned Passwords v1), the follow up post (about v2, the version used by this library) and finally the post on Cloudflare blog (in which k-anonymity is explained in depth).

Installation

Via composer: composer require esolitos/pwnedpasswords

Usage

The usage is very simple, just create the object and call

$mySafePassword = 'p@ssword';

$validator = Esolitos\PwnedPasswords\PwnageValidator();
$pwnedCount = $validator->getPasswordPwnage($mySafePassword);

print_r($pwnedCount)

> 47205

Bonus points: Drupal module

This library was initially built for the drupal module: Pwned Passwords

统计信息

  • 总下载量: 78.06k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 8
  • 点击次数: 4
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 8
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 未知

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固