PHP 클래스 Horde_Crypt_Blowfish_Pbkdf2, horde

pbkdf2 code released to the public domain.
저자: Michael Slusarz ([email protected])
파일 보기 프로젝트 열기: horde/horde

공개 프로퍼티들

프로퍼티 타입 설명
$hashAlgo string Hash algorithm used to create key.
$iterations integer Number of iterations to use.
$salt string Salt.

보호된 프로퍼티들

프로퍼티 타입 설명
$_key string The derived key.

공개 메소드들

메소드 설명
__construct ( string $pass, string $key_length, array $opts = [] ) Constructor.
__toString ( )

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( string $pass, string $key_length, array $opts = [] )
$pass string The password.
$key_length string Length of the derived key (in bytes).
$opts array Additional options: - algo: (string) Hash algorithm. - i_count: (integer) Iteration count. - salt: (string) The salt to use.

__toString() 공개 메소드

public __toString ( )

프로퍼티 상세

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

The derived key.
protected string $_key
리턴 string

$hashAlgo 공개적으로 프로퍼티

Hash algorithm used to create key.
public string $hashAlgo
리턴 string

$iterations 공개적으로 프로퍼티

Number of iterations to use.
public int $iterations
리턴 integer

$salt 공개적으로 프로퍼티

Salt.
public string $salt
리턴 string