CI_SHA Class Reference

List of all members.

Public Member Functions

 CI_SHA ()
 generate ($str)
 _hex ($str)
 _ft ($t, $b, $c, $d)
 _kt ($t)
 _safe_add ($x, $y)
 _rol ($num, $cnt)
 _zero_fill ($a, $b)


Member Function Documentation

CI_SHA::_ft ( t,
b,
c,
d 
)

Return result based on iteration

private

Returns:
string

CI_SHA::_hex ( str  ) 

Convert a decimal to hex

private

Parameters:
string 
Returns:
string

CI_SHA::_kt ( t  ) 

Determine the additive constant

private

Returns:
string

CI_SHA::_rol ( num,
cnt 
)

Bitwise rotate a 32-bit number

private

Returns:
integer

CI_SHA::_safe_add ( x,
y 
)

Add integers, wrapping at 2^32

private

Returns:
string

CI_SHA::_zero_fill ( a,
b 
)

Pad string with zero

private

Returns:
string

CI_SHA::CI_SHA (  ) 

CI_SHA::generate ( str  ) 

Generate the Hash

public

Parameters:
string 
Returns:
string


The documentation for this class was generated from the following file:

Generated on Sun Nov 16 16:09:17 2008 for CodeIgniter by  doxygen 1.5.7.1