![]() |
TYPO3
7.6
|
Protected Member Functions | |
setUp () | |
skipTestIfBlowfishIsNotAvailable () | |
Protected Attributes | |
$objectInstance = null | |
Testcase for BlowfishSalt
Definition at line 20 of file BlowfishSaltTest.php.
authenticationWithNonValidPassword | ( | ) |
Definition at line 228 of file BlowfishSaltTest.php.
References BlowfishSaltTest\skipTestIfBlowfishIsNotAvailable().
authenticationWithValidAlphaCharClassPassword | ( | ) |
Tests authentication procedure with alphabet characters.
Checks if a "plain-text password" is every time mapped to the same "salted password hash" when using the same salt.
Definition at line 140 of file BlowfishSaltTest.php.
References BlowfishSaltTest\skipTestIfBlowfishIsNotAvailable().
authenticationWithValidAsciiSpecialCharClassPassword | ( | ) |
Tests authentication procedure with US-ASCII special characters.
Checks if a "plain-text password" is every time mapped to the same "salted password hash" when using the same salt.
Definition at line 172 of file BlowfishSaltTest.php.
References BlowfishSaltTest\skipTestIfBlowfishIsNotAvailable().
authenticationWithValidLatin1SpecialCharClassPassword | ( | ) |
Tests authentication procedure with latin1 special characters.
Checks if a "plain-text password" is every time mapped to the same "salted password hash" when using the same salt.
Definition at line 188 of file BlowfishSaltTest.php.
References BlowfishSaltTest\skipTestIfBlowfishIsNotAvailable().
authenticationWithValidLatin1UmlautCharClassPassword | ( | ) |
Tests authentication procedure with latin1 umlauts.
Checks if a "plain-text password" is every time mapped to the same "salted password hash" when using the same salt.
Definition at line 208 of file BlowfishSaltTest.php.
References BlowfishSaltTest\skipTestIfBlowfishIsNotAvailable().
authenticationWithValidNumericCharClassPassword | ( | ) |
Tests authentication procedure with numeric characters.
Checks if a "plain-text password" is every time mapped to the same "salted password hash" when using the same salt.
Definition at line 156 of file BlowfishSaltTest.php.
References BlowfishSaltTest\skipTestIfBlowfishIsNotAvailable().
createdSaltedHashOfProperStructure | ( | ) |
Definition at line 94 of file BlowfishSaltTest.php.
References BlowfishSaltTest\skipTestIfBlowfishIsNotAvailable().
createdSaltedHashOfProperStructureForCustomSaltWithoutSetting | ( | ) |
Definition at line 105 of file BlowfishSaltTest.php.
References BlowfishSaltTest\skipTestIfBlowfishIsNotAvailable().
createdSaltedHashOfProperStructureForMinimumHashCount | ( | ) |
Definition at line 120 of file BlowfishSaltTest.php.
References BlowfishSaltTest\skipTestIfBlowfishIsNotAvailable().
emptyPasswordResultsInNullSaltedPassword | ( | ) |
Definition at line 75 of file BlowfishSaltTest.php.
hasCorrectBaseClass | ( | ) |
Definition at line 54 of file BlowfishSaltTest.php.
modifiedHashCount | ( | ) |
Definition at line 287 of file BlowfishSaltTest.php.
modifiedMaxHashCount | ( | ) |
Definition at line 275 of file BlowfishSaltTest.php.
modifiedMinHashCount | ( | ) |
Definition at line 263 of file BlowfishSaltTest.php.
nonEmptyPasswordResultsInNonNullSaltedPassword | ( | ) |
Definition at line 84 of file BlowfishSaltTest.php.
References BlowfishSaltTest\skipTestIfBlowfishIsNotAvailable().
nonZeroSaltLength | ( | ) |
Definition at line 67 of file BlowfishSaltTest.php.
passwordVariationsResultInDifferentHashes | ( | ) |
Definition at line 240 of file BlowfishSaltTest.php.
References BlowfishSaltTest\skipTestIfBlowfishIsNotAvailable().
|
protected |
Sets up the fixtures for this testcase.
Definition at line 34 of file BlowfishSaltTest.php.
|
protected |
Marks tests as skipped if the blowfish method is not available.
Definition at line 44 of file BlowfishSaltTest.php.
Referenced by BlowfishSaltTest\authenticationWithNonValidPassword(), BlowfishSaltTest\authenticationWithValidAlphaCharClassPassword(), BlowfishSaltTest\authenticationWithValidAsciiSpecialCharClassPassword(), BlowfishSaltTest\authenticationWithValidLatin1SpecialCharClassPassword(), BlowfishSaltTest\authenticationWithValidLatin1UmlautCharClassPassword(), BlowfishSaltTest\authenticationWithValidNumericCharClassPassword(), BlowfishSaltTest\createdSaltedHashOfProperStructure(), BlowfishSaltTest\createdSaltedHashOfProperStructureForCustomSaltWithoutSetting(), BlowfishSaltTest\createdSaltedHashOfProperStructureForMinimumHashCount(), BlowfishSaltTest\nonEmptyPasswordResultsInNonNullSaltedPassword(), BlowfishSaltTest\passwordVariationsResultInDifferentHashes(), BlowfishSaltTest\updateNecessityForDecreasedHashcount(), and BlowfishSaltTest\updateNecessityForValidSaltedPassword().
updateNecessityForDecreasedHashcount | ( | ) |
Definition at line 329 of file BlowfishSaltTest.php.
References BlowfishSaltTest\skipTestIfBlowfishIsNotAvailable().
updateNecessityForIncreasedHashcount | ( | ) |
Definition at line 314 of file BlowfishSaltTest.php.
updateNecessityForValidSaltedPassword | ( | ) |
Definition at line 303 of file BlowfishSaltTest.php.
References BlowfishSaltTest\skipTestIfBlowfishIsNotAvailable().
|
protected |
Definition at line 27 of file BlowfishSaltTest.php.