JCryptPasswordSimpleTest::testCreate
Tests the JCryptPasswordSimple::Create method.
Signature
public function testCreate(string
$password,
[string
$type = 10,
[string
$salt = 10,
[string
$expected = 10,
[integer
$cost = 10]]]] )
Parameters
-
$password
- The password to create
-
$type
- The type of hash
-
$salt
- The salt to be used
-
$expected
- The expected result
-
$cost
- The cost value
Returns
- void