PHP Class OpenPGP_S2K, horde

Show file Open project: horde/horde Class Usage Examples

Public Properties

Property Type Description
$count
$hash_algorithm
$salt
$type

Public Methods

Method Description
__construct ( $salt = 'BADSALT', $hash_algorithm = 10, $count = 65536, $type = 3 )
iterate ( $s )
make_key ( $pass, $size )
parse ( &$input )
raw_hash ( $s )
sized_hash ( $s, $size )
to_bytes ( )

Method Details

__construct() public method

public __construct ( $salt = 'BADSALT', $hash_algorithm = 10, $count = 65536, $type = 3 )

iterate() public method

public iterate ( $s )

make_key() public method

public make_key ( $pass, $size )

parse() static public method

static public parse ( &$input )

raw_hash() public method

public raw_hash ( $s )

sized_hash() public method

public sized_hash ( $s, $size )

to_bytes() public method

public to_bytes ( )

Property Details

$count public property

public $count

$hash_algorithm public property

public $hash_algorithm

$salt public property

public $salt

$type public property

public $type