‪TYPO3CMS  9.5
TYPO3\CMS\Core\Crypto\PasswordHashing\ComposedPasswordHashInterface Interface Reference
Inheritance diagram for TYPO3\CMS\Core\Crypto\PasswordHashing\ComposedPasswordHashInterface:
TYPO3\CMS\Core\Crypto\PasswordHashing\PasswordHashInterface TYPO3\CMS\Saltedpasswords\Salt\ComposedSaltInterface

Public Member Functions

int getSaltLength ()
 
bool isValidSalt (string $salt)
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Core\Crypto\PasswordHashing\PasswordHashInterface
bool checkPassword (string $plainPW, string $saltedHashPW)
 
bool isAvailable ()
 
string getHashedPassword (string $password)
 
bool isHashUpdateNeeded (string $passString)
 
bool isValidSaltedPW (string $saltedPW)
 

Detailed Description

Interface for implementing salts that compose the password-hash string themselves.

Deprecated:
‪and will be removed in TYPO3 v10.0.

Definition at line 24 of file ComposedPasswordHashInterface.php.

Member Function Documentation

◆ getSaltLength()

int TYPO3\CMS\Core\Crypto\PasswordHashing\ComposedPasswordHashInterface::getSaltLength ( )

Returns length of required salt.

Returns
‪int Length of required salt

◆ isValidSalt()

bool TYPO3\CMS\Core\Crypto\PasswordHashing\ComposedPasswordHashInterface::isValidSalt ( string  $salt)

Method determines if a given string is a valid salt

Parameters
string$salt‪String to check
Returns
‪bool TRUE if it's valid salt, otherwise FALSE