‪TYPO3CMS  11.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 ()
 
 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 26 of file Argon2iPasswordHashTest.php.

Member Function Documentation

◆ checkPasswordReturnsTrueForHashedPasswordWithNonValidPassword()

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

Definition at line 165 of file Argon2iPasswordHashTest.php.

◆ checkPasswordReturnsTrueForHashedPasswordWithValidAlphaCharClassPassword()

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

Tests authentication procedure with alphabet characters.

Test:

Definition at line 96 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 120 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 132 of file Argon2iPasswordHashTest.php.

◆ checkPasswordReturnsTrueForHashedPasswordWithValidLatin1UmlautCharClassPassword()

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

Tests authentication procedure with latin1 umlauts.

Test:

Definition at line 148 of file Argon2iPasswordHashTest.php.

◆ checkPasswordReturnsTrueForHashedPasswordWithValidNumericCharClassPassword()

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

Tests authentication procedure with numeric characters.

Test:

Definition at line 108 of file Argon2iPasswordHashTest.php.

◆ constructorThrowsExceptionIfMemoryCostIsTooLow()

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

Definition at line 47 of file Argon2iPasswordHashTest.php.

◆ constructorThrowsExceptionIfTimeCostIsTooLow()

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

Definition at line 57 of file Argon2iPasswordHashTest.php.

◆ getHashedPasswordReturnsNullOnEmptyPassword()

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

Definition at line 67 of file Argon2iPasswordHashTest.php.

◆ getHashedPasswordReturnsString()

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

Definition at line 75 of file Argon2iPasswordHashTest.php.

◆ isHashUpdateNeededReturnsFalseForJustGeneratedHash()

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

Definition at line 176 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 85 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