TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
Pbkdf2SaltTest Class Reference
Inheritance diagram for Pbkdf2SaltTest:
UnitTestCase BaseTestCase

Public Member Functions

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

Protected Member Functions

 setUp ()
 
- Protected Member Functions inherited from UnitTestCase
 tearDown ()
 
- Protected Member Functions inherited from BaseTestCase
 getAccessibleMock ($originalClassName, $methods=[], array $arguments=[], $mockClassName= '', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true)
 
 getAccessibleMockForAbstractClass ($originalClassName, array $arguments=[], $mockClassName= '', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true, $mockedMethods=[])
 
 buildAccessibleProxy ($className)
 
 callInaccessibleMethod ($object, $name,...$arguments)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix= '')
 

Protected Attributes

 $objectInstance = null
 
- Protected Attributes inherited from UnitTestCase
 $backupGlobalsBlacklist = ['TYPO3_LOADED_EXT']
 
 $testFilesToDelete = []
 
- Protected Attributes inherited from BaseTestCase
 $backupGlobals = true
 
 $backupStaticAttributes = false
 

Detailed Description

Testcase for Pbkdf2Salt

Definition at line 23 of file Pbkdf2SaltTest.php.

Member Function Documentation

authenticationWithNonValidPassword ( )
Test:

Definition at line 214 of file Pbkdf2SaltTest.php.

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 131 of file Pbkdf2SaltTest.php.

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 161 of file Pbkdf2SaltTest.php.

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 176 of file Pbkdf2SaltTest.php.

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 195 of file Pbkdf2SaltTest.php.

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 146 of file Pbkdf2SaltTest.php.

createdSaltedHashOfProperStructure ( )
Test:

Definition at line 88 of file Pbkdf2SaltTest.php.

createdSaltedHashOfProperStructureForCustomSaltWithoutSetting ( )
Test:

Definition at line 98 of file Pbkdf2SaltTest.php.

createdSaltedHashOfProperStructureForMinimumHashCount ( )
Test:

Definition at line 112 of file Pbkdf2SaltTest.php.

emptyPasswordResultsInNullSaltedPassword ( )
Test:

Definition at line 70 of file Pbkdf2SaltTest.php.

hasCorrectBaseClass ( )
Test:

Definition at line 49 of file Pbkdf2SaltTest.php.

isCompatibleWithPythonPasslibHashes ( )
Test:

Definition at line 326 of file Pbkdf2SaltTest.php.

modifiedHashCount ( )
Test:

Definition at line 270 of file Pbkdf2SaltTest.php.

modifiedMaxHashCount ( )
Test:

Definition at line 258 of file Pbkdf2SaltTest.php.

modifiedMinHashCount ( )
Test:

Definition at line 246 of file Pbkdf2SaltTest.php.

nonEmptyPasswordResultsInNonNullSaltedPassword ( )
Test:

Definition at line 79 of file Pbkdf2SaltTest.php.

nonZeroSaltLength ( )
Test:

Definition at line 62 of file Pbkdf2SaltTest.php.

passwordVariationsResultInDifferentHashes ( )
Test:

Definition at line 225 of file Pbkdf2SaltTest.php.

setUp ( )
protected

Sets up the fixtures for this testcase.

Returns
void

Definition at line 37 of file Pbkdf2SaltTest.php.

updateNecessityForDecreasedHashcount ( )
Test:

Definition at line 311 of file Pbkdf2SaltTest.php.

updateNecessityForIncreasedHashcount ( )
Test:

Definition at line 296 of file Pbkdf2SaltTest.php.

updateNecessityForValidSaltedPassword ( )
Test:

Definition at line 286 of file Pbkdf2SaltTest.php.

Member Data Documentation

$objectInstance = null
protected

Definition at line 30 of file Pbkdf2SaltTest.php.