leetcoderust-PasswordPolice:密码策略实施变得容易

时间:2024-07-20 11:56:23
【文件属性】:

文件名称:leetcoderust-PasswordPolice:密码策略实施变得容易

文件大小:74KB

文件格式:ZIP

更新时间:2024-07-20 11:56:23

系统开源

leetcode 锈密码警察 密码策略实施变得容易。 安装 通过作曲家 composer require stadly/password-police 用法 use Stadly \ PasswordPolice \ Policy ; use Stadly \ PasswordPolice \ Rule \ DictionaryRule ; use Stadly \ PasswordPolice \ Rule \ HaveIBeenPwnedRule ; use Stadly \ PasswordPolice \ Rule \ LengthRule ; use Stadly \ PasswordPolice \ WordList \ Pspell ; $ policy = new Policy (); // Add rules to the password policy. See the Rules section below. $ policy -> addRules ( new LengthRule ( 8 ), // Password must be at least 8 ch


【文件预览】:
PasswordPolice-master
----src()
--------FormerPassword.php(830B)
--------Password.php(2KB)
--------Rule.php(1KB)
--------Constraint()
--------Formatter()
--------Formatter.php(612B)
--------ValidationError.php(2KB)
--------CharTree.php(10KB)
--------CodeMap()
--------CharTree()
--------WordList.php(499B)
--------HashFunction.php(627B)
--------DateFormatter.php(636B)
--------DateFormatter()
--------CodeMap.php(451B)
--------Policy.php(3KB)
--------WordList()
--------Rule()
--------HashFunction()
----CONTRIBUTING.md(1KB)
----LICENSE.md(1KB)
----README.md(29KB)
----translations()
--------messages.nn_NO.mo(8KB)
--------messages.nb_NO.mo(8KB)
--------extract.php(435B)
--------messages.de_DE.mo(9KB)
--------messages.nb_NO.po(10KB)
--------messages.de_DE.po(11KB)
--------messages.pot(7KB)
--------messages.nn_NO.po(10KB)
----CODE_OF_CONDUCT.md(3KB)
----CHANGELOG.md(15KB)
----composer.json(2KB)

网友评论