UserFrosting API

HasherTest extends TestCase

Tests the password Hasher class.

Table of Contents

$plainText string
$userCakeHash string
$legacyHash string
$modernHash string
testGetHashType() testGetHashType mixed
testVerify() testVerify mixed
testVerifyReject() testVerifyReject mixed

Properties

$plainText

protected string $plainText = 'hodleth'

$userCakeHash

protected string $userCakeHash = '87e995bde9ebdc73fc58cc75a9fadc4ae630d8207650fbe94e148ccc8058d5de5'

$legacyHash

protected string $legacyHash = '$2y$12$rsXGznS5Ky23lX9iNzApAuDccKRhQFkiy5QfKWp0ACyDWBPOylPB.rsXGznS5Ky23lX9iNzApA9'

$modernHash

protected string $modernHash = '$2y$10$ucxLwloFso6wJoct1baBQefdrttws/taEYvavi6qoPsw/vd1u4Mha'

Methods

testGetHashType()

testGetHashType

public testGetHashType( ) : mixed
Return values
mixed

testVerify()

testVerify

public testVerify( ) : mixed
Return values
mixed

testVerifyReject()

testVerifyReject

public testVerifyReject( ) : mixed
Return values
mixed

Search results