Class CFW_Auth_Hash

Description

ハッシュ関数の抽象

  • author: okada
  • abstract:

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


	
			
Direct descendents
Class Description
CFW_Auth_Hash_Md5 MD5ハッシュ実装
CFW_Auth_Hash_Sha1 SHA1ハッシュ実装
CFW_Auth_Hash_Smd5 SaltedMD5実装
CFW_Auth_Hash_SSha1 SaltedSHA1実装
Variable Summary
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 13)
Methods
static method getInstance (line 19)

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

  • access: public
static CFW_Auth_Hash getInstance ([unknown_type $method = "PLAINTEXT"])
  • unknown_type $method
createHash (line 50)

新しいハッシュを作る.

  • abstract:
  • access: public
unknown_type createHash (unknown_type $input)
  • unknown_type $input

Redefined in descendants as:
decode (line 88)

入力文字のデコード

  • return: デコード結果のバイト配列
  • access: public
unknown_type decode ($original $original)
  • $original $original: 入力文字
encode (line 63)

エンコードする

  • access: public
unknown_type encode (unknown_type $original)
  • unknown_type $original
verify (line 57)

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

  • abstract:
  • access: public
unknown_type verify (unknown_type $input, unknown_type $target)
  • unknown_type $input
  • unknown_type $target

Redefined in descendants as:

Documentation generated on Fri, 25 Dec 2009 22:45:21 +0900 by phpDocumentor 1.4.3