PHP 인터페이스 Pop\Crypt\CryptInterface

저자: Nick Sagona, III ([email protected])
파일 보기 프로젝트 열기: nicksagona/PopPHP

공개 메소드들

메소드 설명
create ( string $string ) : string Method to create the hashed value
getSalt ( ) : string Method to get the salt
setSalt ( string $salt = null ) : self Method to set the salt
verify ( string $string, string $hash ) : boolean Method to create the hashed value

메소드 상세

create() 공개 메소드

Method to create the hashed value
public create ( string $string ) : string
$string string
리턴 string

getSalt() 공개 메소드

Method to get the salt
public getSalt ( ) : string
리턴 string

setSalt() 공개 메소드

Method to set the salt
public setSalt ( string $salt = null ) : self
$salt string
리턴 self

verify() 공개 메소드

Method to create the hashed value
public verify ( string $string, string $hash ) : boolean
$string string
$hash string
리턴 boolean