‪TYPO3CMS  9.5
TYPO3\CMS\Core\Tests\Unit\Crypto\PasswordHashing\Argon2iPasswordHashTest Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Unit\Crypto\PasswordHashing\Argon2iPasswordHashTest:

Public Member Functions

 constructorThrowsExceptionIfMemoryCostIsTooLow ()
 
 constructorThrowsExceptionIfTimeCostIsTooLow ()
 
 constructorThrowsExceptionIfThreadsIsTooLow ()
 
 getHashedPasswordReturnsNullOnEmptyPassword ()
 
 getHashedPasswordReturnsString ()
 
 isValidSaltedPwValidatesHastCreatedByGetHashedPassword ()
 
 checkPasswordReturnsTrueForHashedPasswordWithValidAlphaCharClassPassword ()
 
 checkPasswordReturnsTrueForHashedPasswordWithValidNumericCharClassPassword ()
 
 checkPasswordReturnsTrueForHashedPasswordWithValidAsciiSpecialCharClassPassword ()
 
 checkPasswordReturnsTrueForHashedPasswordWithValidLatin1SpecialCharClassPassword ()
 
 checkPasswordReturnsTrueForHashedPasswordWithValidLatin1UmlautCharClassPassword ()
 
 checkPasswordReturnsTrueForHashedPasswordWithNonValidPassword ()
 
 isHashUpdateNeededReturnsFalseForJustGeneratedHash ()
 
 isHashUpdateNeededReturnsTrueForHashGeneratedWithOldOptions ()
 

Protected Member Functions

 setUp ()
 

Protected Attributes

Argon2iPasswordHash $subject
 

Detailed Description

Test case

Definition at line 24 of file Argon2iPasswordHashTest.php.

Member Function Documentation

◆ checkPasswordReturnsTrueForHashedPasswordWithNonValidPassword()

TYPO3\CMS\Core\Tests\Unit\Crypto\PasswordHashing\Argon2iPasswordHashTest::checkPasswordReturnsTrueForHashedPasswordWithNonValidPassword ( )
Test:

Definition at line 174 of file Argon2iPasswordHashTest.php.

◆ checkPasswordReturnsTrueForHashedPasswordWithValidAlphaCharClassPassword()

TYPO3\CMS\Core\Tests\Unit\Crypto\PasswordHashing\Argon2iPasswordHashTest::checkPasswordReturnsTrueForHashedPasswordWithValidAlphaCharClassPassword ( )

Tests authentication procedure with alphabet characters.

Test:

Definition at line 105 of file Argon2iPasswordHashTest.php.

◆ checkPasswordReturnsTrueForHashedPasswordWithValidAsciiSpecialCharClassPassword()

TYPO3\CMS\Core\Tests\Unit\Crypto\PasswordHashing\Argon2iPasswordHashTest::checkPasswordReturnsTrueForHashedPasswordWithValidAsciiSpecialCharClassPassword ( )

Tests authentication procedure with US-ASCII special characters.

Test:

Definition at line 129 of file Argon2iPasswordHashTest.php.

◆ checkPasswordReturnsTrueForHashedPasswordWithValidLatin1SpecialCharClassPassword()

TYPO3\CMS\Core\Tests\Unit\Crypto\PasswordHashing\Argon2iPasswordHashTest::checkPasswordReturnsTrueForHashedPasswordWithValidLatin1SpecialCharClassPassword ( )

Tests authentication procedure with latin1 special characters.

Test:

Definition at line 141 of file Argon2iPasswordHashTest.php.

◆ checkPasswordReturnsTrueForHashedPasswordWithValidLatin1UmlautCharClassPassword()

TYPO3\CMS\Core\Tests\Unit\Crypto\PasswordHashing\Argon2iPasswordHashTest::checkPasswordReturnsTrueForHashedPasswordWithValidLatin1UmlautCharClassPassword ( )

Tests authentication procedure with latin1 umlauts.

Test:

Definition at line 157 of file Argon2iPasswordHashTest.php.

◆ checkPasswordReturnsTrueForHashedPasswordWithValidNumericCharClassPassword()

TYPO3\CMS\Core\Tests\Unit\Crypto\PasswordHashing\Argon2iPasswordHashTest::checkPasswordReturnsTrueForHashedPasswordWithValidNumericCharClassPassword ( )

Tests authentication procedure with numeric characters.

Test:

Definition at line 117 of file Argon2iPasswordHashTest.php.

◆ constructorThrowsExceptionIfMemoryCostIsTooLow()

TYPO3\CMS\Core\Tests\Unit\Crypto\PasswordHashing\Argon2iPasswordHashTest::constructorThrowsExceptionIfMemoryCostIsTooLow ( )
Test:

Definition at line 46 of file Argon2iPasswordHashTest.php.

◆ constructorThrowsExceptionIfThreadsIsTooLow()

TYPO3\CMS\Core\Tests\Unit\Crypto\PasswordHashing\Argon2iPasswordHashTest::constructorThrowsExceptionIfThreadsIsTooLow ( )
Test:

Definition at line 66 of file Argon2iPasswordHashTest.php.

◆ constructorThrowsExceptionIfTimeCostIsTooLow()

TYPO3\CMS\Core\Tests\Unit\Crypto\PasswordHashing\Argon2iPasswordHashTest::constructorThrowsExceptionIfTimeCostIsTooLow ( )
Test:

Definition at line 56 of file Argon2iPasswordHashTest.php.

◆ getHashedPasswordReturnsNullOnEmptyPassword()

TYPO3\CMS\Core\Tests\Unit\Crypto\PasswordHashing\Argon2iPasswordHashTest::getHashedPasswordReturnsNullOnEmptyPassword ( )
Test:

Definition at line 76 of file Argon2iPasswordHashTest.php.

◆ getHashedPasswordReturnsString()

TYPO3\CMS\Core\Tests\Unit\Crypto\PasswordHashing\Argon2iPasswordHashTest::getHashedPasswordReturnsString ( )
Test:

Definition at line 84 of file Argon2iPasswordHashTest.php.

◆ isHashUpdateNeededReturnsFalseForJustGeneratedHash()

TYPO3\CMS\Core\Tests\Unit\Crypto\PasswordHashing\Argon2iPasswordHashTest::isHashUpdateNeededReturnsFalseForJustGeneratedHash ( )
Test:

Definition at line 185 of file Argon2iPasswordHashTest.php.

◆ isHashUpdateNeededReturnsTrueForHashGeneratedWithOldOptions()

TYPO3\CMS\Core\Tests\Unit\Crypto\PasswordHashing\Argon2iPasswordHashTest::isHashUpdateNeededReturnsTrueForHashGeneratedWithOldOptions ( )

◆ isValidSaltedPwValidatesHastCreatedByGetHashedPassword()

TYPO3\CMS\Core\Tests\Unit\Crypto\PasswordHashing\Argon2iPasswordHashTest::isValidSaltedPwValidatesHastCreatedByGetHashedPassword ( )
Test:

Definition at line 94 of file Argon2iPasswordHashTest.php.

◆ setUp()

TYPO3\CMS\Core\Tests\Unit\Crypto\PasswordHashing\Argon2iPasswordHashTest::setUp ( )
protected

Sets up the subject for this test case.

Definition at line 33 of file Argon2iPasswordHashTest.php.

Member Data Documentation

◆ $subject

Argon2iPasswordHash TYPO3\CMS\Core\Tests\Unit\Crypto\PasswordHashing\Argon2iPasswordHashTest::$subject
protected