Skip to content

Tags: roderik/pwgen-php

Tags

0.1.8

Toggle 0.1.8's commit message
Fix & enhance tests (#16)

* Fix asserts using NotRegExp

Asserting against the regexp would only prove at leat one character in
the generated password is not in the given set.

Use of assertNotregExep verify that no character come from the set.

Also fix testGenerateNumerals because $capitalize default value in
constructor is set to true. Solely defined third parameter to true will
also generate upper chars.

Add specific test to generate numerals and disable $capitalize.

refs #13 #14

* Most ambiguous character are upper ones

fix #13

* We may not assert ambiguous chars will be generated

refs #13

* Setting noVovels implies having digits & uppers

https://github.com/roderik/pwgen-php/blob/7ecf653a701bfa4115fa2cc5fa438c1a5c4dfbaf/src/PWGen.php#L199

refs #13

* Fix test with noVovels set

0.1.7

Toggle 0.1.7's commit message
Merge pull request #5 from ComaVN/use-php7-random_int

use php7's random_int if possible

0.1.6

Toggle 0.1.6's commit message
Merge pull request #4 from Zarthus/php710-support

PHP 7.1.0 compatibility: Use openssl_random_pseudo_bytes over mcrypt

0.1.5

Toggle 0.1.5's commit message
Merge pull request #2 from schmiddim/master

Dissallow certain special chars - some PHP Projects do not support sp…

0.1.4

Toggle 0.1.4's commit message
Merge pull request #1 from ComaVN/master

use Cryptographically secure mcrypt rng instead of mt_rand, if possible

0.1.3

Toggle 0.1.3's commit message
Some fixes for composer.json

0.1.2

Toggle 0.1.2's commit message
The same code as 0.1.1 but with added composer.json