OXID eShop CE  6.4.2
OxidEsales\EshopCommunity\Core\Sha512Hasher Class Reference
+ Inheritance diagram for OxidEsales\EshopCommunity\Core\Sha512Hasher:
+ Collaboration diagram for OxidEsales\EshopCommunity\Core\Sha512Hasher:

Public Member Functions

 hash ($string)
 

Public Attributes

const HASHING_ALGORITHM_SHA512 = 'sha512'
 

Detailed Description

Encrypt string with sha512 algorithm.

Deprecated:
since v6.4.0 (2019-03-15); \OxidEsales\EshopCommunity\Internal\Domain\Authentication\Bridge\PasswordServiceBridgeInterface was added as the new default for hashing passwords. Hashing passwords with MD5 and SHA512 is still supported in order support login with older password hashes. Therefor this class might not be compatible with the current passhword hash any more.

Member Function Documentation

◆ hash()

OxidEsales\EshopCommunity\Core\Sha512Hasher::hash (   $string)

Encrypt string.

Parameters
string$string
Returns
string

Member Data Documentation

◆ HASHING_ALGORITHM_SHA512

const OxidEsales\EshopCommunity\Core\Sha512Hasher::HASHING_ALGORITHM_SHA512 = 'sha512'

Algorithm name.


The documentation for this class was generated from the following file: