OpenPGP_S2K::__construct PHP Method

__construct() public method

public __construct ( $salt = 'BADSALT', $hash_algorithm = 10, $count = 65536, $type = 3 )
    function __construct($salt = 'BADSALT', $hash_algorithm = 10, $count = 65536, $type = 3)
    {
        $this->type = $type;
        $this->hash_algorithm = $hash_algorithm;
        $this->salt = $salt;
        $this->count = $count;
    }