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

Public Member Functions

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

Protected Member Functions

 setUp ()
 

Protected Attributes

Argon2idPasswordHash $subject
 

Detailed Description

Definition at line 23 of file Argon2idPasswordHashTest.php.

Member Function Documentation

◆ checkPasswordReturnsTrueForHashedPasswordWithNonValidPassword()

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

Definition at line 159 of file Argon2idPasswordHashTest.php.

◆ checkPasswordReturnsTrueForHashedPasswordWithValidAlphaCharClassPassword()

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

Tests authentication procedure with alphabet characters.

Test:

Definition at line 90 of file Argon2idPasswordHashTest.php.

◆ checkPasswordReturnsTrueForHashedPasswordWithValidAsciiSpecialCharClassPassword()

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

Tests authentication procedure with US-ASCII special characters.

Test:

Definition at line 114 of file Argon2idPasswordHashTest.php.

◆ checkPasswordReturnsTrueForHashedPasswordWithValidLatin1SpecialCharClassPassword()

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

Tests authentication procedure with latin1 special characters.

Test:

Definition at line 126 of file Argon2idPasswordHashTest.php.

◆ checkPasswordReturnsTrueForHashedPasswordWithValidLatin1UmlautCharClassPassword()

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

Tests authentication procedure with latin1 umlauts.

Test:

Definition at line 142 of file Argon2idPasswordHashTest.php.

◆ checkPasswordReturnsTrueForHashedPasswordWithValidNumericCharClassPassword()

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

Tests authentication procedure with numeric characters.

Test:

Definition at line 102 of file Argon2idPasswordHashTest.php.

◆ constructorThrowsExceptionIfMemoryCostIsTooLow()

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

Definition at line 41 of file Argon2idPasswordHashTest.php.

◆ constructorThrowsExceptionIfTimeCostIsTooLow()

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

Definition at line 51 of file Argon2idPasswordHashTest.php.

◆ getHashedPasswordReturnsNullOnEmptyPassword()

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

Definition at line 61 of file Argon2idPasswordHashTest.php.

◆ getHashedPasswordReturnsString()

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

Definition at line 69 of file Argon2idPasswordHashTest.php.

◆ isHashUpdateNeededReturnsFalseForJustGeneratedHash()

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

Definition at line 170 of file Argon2idPasswordHashTest.php.

◆ isHashUpdateNeededReturnsTrueForHashGeneratedWithOldOptions()

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

◆ isValidSaltedPwValidatesHastCreatedByGetHashedPassword()

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

Definition at line 79 of file Argon2idPasswordHashTest.php.

◆ setUp()

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

Definition at line 27 of file Argon2idPasswordHashTest.php.

Member Data Documentation

◆ $subject

Argon2idPasswordHash TYPO3\CMS\Core\Tests\Unit\Crypto\PasswordHashing\Argon2idPasswordHashTest::$subject
protected