Skip to content

Releases: roderik/pwgen-php

0.1.8: Fix & enhance tests (#16)

27 Mar 19:36
Compare
Choose a tag to compare
* 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: Merge pull request #5 from ComaVN/use-php7-random_int

15 Aug 08:00
Compare
Choose a tag to compare

0.1.6: Merge pull request #4 from Zarthus/php710-support

15 Aug 07:58
Compare
Choose a tag to compare
PHP 7.1.0 compatibility: Use openssl_random_pseudo_bytes over mcrypt

0.1.5

27 Feb 21:47
Compare
Choose a tag to compare
Merge pull request #2 from schmiddim/master

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

0.1.4

06 Jun 09:22
Compare
Choose a tag to compare
Merge pull request #1 from ComaVN/master

use Cryptographically secure mcrypt rng instead of mt_rand, if possible