TYPO3  7.6
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
BlowfishSaltTest Class Reference
Inheritance diagram for BlowfishSaltTest:

Public Member Functions

 hasCorrectBaseClass ()
 
 nonZeroSaltLength ()
 
 emptyPasswordResultsInNullSaltedPassword ()
 
 nonEmptyPasswordResultsInNonNullSaltedPassword ()
 
 createdSaltedHashOfProperStructure ()
 
 createdSaltedHashOfProperStructureForCustomSaltWithoutSetting ()
 
 createdSaltedHashOfProperStructureForMinimumHashCount ()
 
 authenticationWithValidAlphaCharClassPassword ()
 
 authenticationWithValidNumericCharClassPassword ()
 
 authenticationWithValidAsciiSpecialCharClassPassword ()
 
 authenticationWithValidLatin1SpecialCharClassPassword ()
 
 authenticationWithValidLatin1UmlautCharClassPassword ()
 
 authenticationWithNonValidPassword ()
 
 passwordVariationsResultInDifferentHashes ()
 
 modifiedMinHashCount ()
 
 modifiedMaxHashCount ()
 
 modifiedHashCount ()
 
 updateNecessityForValidSaltedPassword ()
 
 updateNecessityForIncreasedHashcount ()
 
 updateNecessityForDecreasedHashcount ()
 

Protected Member Functions

 setUp ()
 
 skipTestIfBlowfishIsNotAvailable ()
 

Protected Attributes

 $objectInstance = null
 

Detailed Description

Testcase for BlowfishSalt

Definition at line 20 of file BlowfishSaltTest.php.

Member Function Documentation

authenticationWithNonValidPassword ( )
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.

Test:

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.

Test:

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.

Test:

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.

Test:

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.

Test:

Definition at line 156 of file BlowfishSaltTest.php.

References BlowfishSaltTest\skipTestIfBlowfishIsNotAvailable().

createdSaltedHashOfProperStructure ( )
createdSaltedHashOfProperStructureForCustomSaltWithoutSetting ( )
createdSaltedHashOfProperStructureForMinimumHashCount ( )
emptyPasswordResultsInNullSaltedPassword ( )
Test:

Definition at line 75 of file BlowfishSaltTest.php.

hasCorrectBaseClass ( )
Test:

Definition at line 54 of file BlowfishSaltTest.php.

modifiedHashCount ( )
Test:

Definition at line 287 of file BlowfishSaltTest.php.

modifiedMaxHashCount ( )
Test:

Definition at line 275 of file BlowfishSaltTest.php.

modifiedMinHashCount ( )
Test:

Definition at line 263 of file BlowfishSaltTest.php.

nonEmptyPasswordResultsInNonNullSaltedPassword ( )
nonZeroSaltLength ( )
Test:

Definition at line 67 of file BlowfishSaltTest.php.

passwordVariationsResultInDifferentHashes ( )
setUp ( )
protected

Sets up the fixtures for this testcase.

Returns
void

Definition at line 34 of file BlowfishSaltTest.php.

skipTestIfBlowfishIsNotAvailable ( )
protected
updateNecessityForDecreasedHashcount ( )
updateNecessityForIncreasedHashcount ( )
Test:

Definition at line 314 of file BlowfishSaltTest.php.

updateNecessityForValidSaltedPassword ( )

Member Data Documentation

$objectInstance = null
protected

Definition at line 27 of file BlowfishSaltTest.php.