PHP 클래스 Redaxscript\Hash

부터: 2.6.0
저자: Henry Ruhs
파일 보기 프로젝트 열기: redaxmedia/redaxscript 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_config object instance of the config class
$_hash string salted hash
$_raw string plain raw

공개 메소드들

메소드 설명
__construct ( Config $config ) constructor of the class
getHash ( ) get the hash
getRaw ( ) get the raw
init ( string $raw = null ) init the class
validate ( string $raw = null, string $hash = null ) : boolean validate raw again hash

보호된 메소드들

메소드 설명
_create ( ) create a salted hash

메소드 상세

__construct() 공개 메소드

constructor of the class
부터: 2.6.0
public __construct ( Config $config )
$config Config instance of the config class

_create() 보호된 메소드

create a salted hash
부터: 2.6.0
protected _create ( )

getHash() 공개 메소드

get the hash
부터: 2.6.0
public getHash ( )

getRaw() 공개 메소드

get the raw
부터: 2.6.0
public getRaw ( )

init() 공개 메소드

init the class
부터: 2.6.0
public init ( string $raw = null )
$raw string plain raw

validate() 공개 메소드

validate raw again hash
부터: 2.6.0
public validate ( string $raw = null, string $hash = null ) : boolean
$raw string plain raw
$hash string salted hash
리턴 boolean

프로퍼티 상세

$_config 보호되어 있는 정적으로 프로퍼티

instance of the config class
protected static object $_config
리턴 object

$_hash 보호되어 있는 프로퍼티

salted hash
protected string $_hash
리턴 string

$_raw 보호되어 있는 프로퍼티

plain raw
protected string $_raw
리턴 string