PHP 클래스 BcNoPasswordHasher

상속: extends AbstractPasswordHasher
파일 보기 프로젝트 열기: baserproject/basercms

공개 메소드들

메소드 설명
check ( string $password, $hashedPassword ) : boolean Check hash. Generate hash for user provided password and check against existing hash.
hash ( string $password ) : string Generates password hash.

메소드 상세

check() 공개 메소드

Check hash. Generate hash for user provided password and check against existing hash.
public check ( string $password, $hashedPassword ) : boolean
$password string Plain text password to hash.
리턴 boolean True if hashes match else false.

hash() 공개 메소드

Generates password hash.
public hash ( string $password ) : string
$password string Plain text password to hash.
리턴 string Password hash