## Class CFW_Auth_Hash

Description

- abstract:

Located in /Auth/Hash.php (line 2)

Direct descendents

Class | Description
--- | ---
CFW_Auth_Hash_Md5 |
CFW_Auth_Hash_Sha1 |
CFW_Auth_Hash_Smd5 |
CFW_Auth_Hash_SSha1 |

Variable Summary
CFW_Config_Configuration $config
Method Summary
static CFW_Auth_Hash getInstance ([unknown_type $method = "PLAINTEXT"])
unknown_type createHash (unknown_type $input)
unknown_type decode ($original $original)
unknown_type encode (unknown_type $original)
unknown_type verify (unknown_type $input, unknown_type $target)
Variables
CFW_Config_Configuration $config (line 7)
Methods
static method getInstance (line 13)

設定に基づくクラスを取得

- access: public

static CFW_Auth_Hash getInstance ([unknown_type $method = "PLAINTEXT"])

- unknown_type $method

createHash (line 44)

新しいハッシュを作る.

- abstract:
- access: public

unknown_type createHash (unknown_type $input)

- unknown_type $input

Redefined in descendants as:

- CFW_Auth_Hash_Md5::createHash()
- CFW_Auth_Hash_Sha1::createHash()
- CFW_Auth_Hash_Smd5::createHash()
- CFW_Auth_Hash_SSha1::createHash()

decode (line 82)

入力文字のデコード

- return: デコード結果のバイト配列
- access: public

unknown_type decode ($original $original)

- $original $original: 入力文字

encode (line 57)

エンコードする

- access: public

unknown_type encode (unknown_type $original)

- unknown_type $original

verify (line 51)

入力値のハッシュ結果が元の値になるか検証

- abstract:
- access: public

unknown_type verify (unknown_type $input, unknown_type $target)

- unknown_type $input
- unknown_type $target

Redefined in descendants as:

- CFW_Auth_Hash_Md5::verify()
- CFW_Auth_Hash_Sha1::verify()
- CFW_Auth_Hash_Smd5::verify()
- CFW_Auth_Hash_SSha1::verify()

Documentation generated on Fri, 25 Dec 2009 21:42:58 +0900 by phpDocumentor 1.4.3