PHP 클래스 Horde_Crypt_Blowfish_Php_Base, horde

저자: Matthew Fonda ([email protected])
저자: Michael Slusarz ([email protected])
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$md5 string MD5 sum of the key used.

보호된 프로퍼티들

프로퍼티 타입 설명
$_P array P-Array contains 18 32-bit subkeys.
$_S array Array of four S-Blocks each containing 256 32-bit entries.

공개 메소드들

메소드 설명
__construct ( string $key ) Constructor.
decrypt ( $text, $iv )
encrypt ( $text, $iv )

보호된 메소드들

메소드 설명
_binxor ( integer | float $l, integer | float $r ) : float Workaround for XOR on certain systems.
_decipher ( &$Xl, &$Xr ) Deciphers a single 64-bit block.
_encipher ( &$Xl, &$Xr ) Enciphers a single 64-bit block.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( string $key )
$key string Encrpytion key.

_binxor() 보호된 메소드

Workaround for XOR on certain systems.
protected _binxor ( integer | float $l, integer | float $r ) : float
$l integer | float
$r integer | float
리턴 float

_decipher() 보호된 메소드

Deciphers a single 64-bit block.
protected _decipher ( &$Xl, &$Xr )

_encipher() 보호된 메소드

Enciphers a single 64-bit block.
protected _encipher ( &$Xl, &$Xr )

decrypt() 추상적인 공개 메소드

abstract public decrypt ( $text, $iv )

encrypt() 추상적인 공개 메소드

abstract public encrypt ( $text, $iv )

프로퍼티 상세

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

P-Array contains 18 32-bit subkeys.
protected array $_P
리턴 array

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

Array of four S-Blocks each containing 256 32-bit entries.
protected array $_S
리턴 array

$md5 공개적으로 프로퍼티

MD5 sum of the key used.
public string $md5
리턴 string