Home
last modified time | relevance | path

Searched refs:pass (Results 1 – 25 of 365) sorted by relevance

12345678910>>...15

/php-src/ext/hash/tests/
H A Dhaval.phpt2 Hash: haval algorithm (multi-vector, multi-pass, multi-width)
6 for($pass=3; $pass<=5; $pass++)
8 $algo = sprintf('haval%d,%d',$bits,$pass);
13 for($pass=3; $pass<=5; $pass++)
15 $algo = sprintf('haval%d,%d',$bits,$pass);
20 for($pass=3; $pass<=5; $pass++)
22 $algo = sprintf('haval%d,%d',$bits,$pass);
/php-src/ext/standard/tests/url/
H A Dbug63162.phpt5 [0]=> http://user:pass@host
6 [1]=> //user:pass@host
10 var_dump(parse_url('http://user:pass@host'));
11 var_dump(parse_url('//user:pass@host'));
22 ["pass"]=>
23 string(4) "pass"
30 ["pass"]=>
31 string(4) "pass"
/php-src/ext/openssl/tests/
H A Dopenssl_pkcs12_export_basic.phpt15 $pass = "test";
20 var_dump(openssl_pkcs12_export($cert, $output, $priv, $pass)); // read certs as a string
21 var_dump(openssl_pkcs12_read($output, $opts, $pass));
23 var_dump(openssl_pkcs12_read($output, $opts, $pass));
24 var_dump(openssl_pkcs12_export($cert_res, $output, $priv_res, $pass)); // read certs from a resource
25 var_dump(openssl_pkcs12_read($output, $opts, $pass));
27 var_dump(openssl_pkcs12_read($output, $opts, $pass));
31 var_dump(openssl_pkcs12_export($invalid, $output, $invalid, $pass));
32 var_dump(openssl_pkcs12_export($invalid_path, $output, $invalid_path, $pass));
34 var_dump(openssl_pkcs12_export($priv_res, $output, $cert_res, $pass));
[all …]
H A Dopenssl_pkcs12_export_to_file_basic.phpt17 $pass = "test";
22 var_dump(openssl_pkcs12_export_to_file($cert, $pkcsfile, $priv, $pass));
23 var_dump(openssl_pkcs12_read(file_get_contents($pkcsfile), $opts, $pass));
24 var_dump(openssl_pkcs12_export_to_file($cert_path, $pkcsfile, $priv_path, $pass));
25 var_dump(openssl_pkcs12_read(file_get_contents($pkcsfile), $opts, $pass));
26 var_dump(openssl_pkcs12_export_to_file($cert_res, $pkcsfile, $priv_res, $pass));
27 var_dump(openssl_pkcs12_read(file_get_contents($pkcsfile), $opts, $pass));
29 var_dump(openssl_pkcs12_read(file_get_contents($pkcsfile), $opts, $pass));
31 var_dump(openssl_pkcs12_export_to_file($invalid, $pkcsfile, $invalid, $pass));
32 var_dump(openssl_pkcs12_export_to_file($invalid_path, $pkcsfile, $invalid_path, $pass));
[all …]
H A Dopenssl_password_compat.phpt30 $pass = "secret$mem$time$algo";
33 …$hash = sodium_crypto_pwhash_str($pass, PASSWORD_ARGON2_DEFAULT_TIME_COST / $time, PASSWORD_ARGON2…
34 var_dump(openssl_password_verify($algo, $pass, $hash));
37 $hash = openssl_password_hash($algo, $pass, $opts);
38 var_dump(sodium_crypto_pwhash_str_verify($hash, $pass));
H A Dopenssl_password_compat2.phpt30 $pass = "secret$mem$time$algo";
33 $hash = password_hash($pass, PASSWORD_ARGON2ID, $opts);
34 var_dump(openssl_password_verify($algo, $pass, $hash));
37 $hash = openssl_password_hash($algo, $pass, $opts);
38 var_dump(password_verify($pass, $hash));
/php-src/ext/sodium/tests/
H A Dbug78516.phpt11 $pass = password_hash('secret', PASSWORD_ARGON2ID, ['memory_cost' => 8191]);
12 password_needs_rehash($pass, PASSWORD_ARGON2ID, ['memory_cost' => 8191]);
13 var_dump(password_get_info($pass)['options']['memory_cost']);
14 $pass = password_hash('secret', PASSWORD_ARGON2I, ['memory_cost' => 8191]);
15 password_needs_rehash($pass, PASSWORD_ARGON2I, ['memory_cost' => 8191]);
16 var_dump(password_get_info($pass)['options']['memory_cost']);
/php-src/ext/mbstring/tests/
H A Dmb_http_input_pass.phpt2 mb_http_input() with pass encoding
11 input_encoding=pass
30 string(4) "pass"
31 string(4) "pass"
36 string(4) "pass"
38 string(4) "pass"
H A Dmb_output_handler_pass.phpt2 mb_output_handler() with output_encoding=pass
7 output_encoding=pass
20 mb_http_output("pass");
24 string(4) "pass"
H A Dmb_check_encoding_invalid_encodings.phpt23 echo 'Using "pass" as encoding' . \PHP_EOL;
25 var_dump(mb_check_encoding($str, 'pass'));
30 var_dump(mb_check_encoding($arr, 'pass'));
40 Using "pass" as encoding
41 mb_check_encoding(): Argument #2 ($encoding) must be a valid encoding, "pass" given
42 mb_check_encoding(): Argument #2 ($encoding) must be a valid encoding, "pass" given
/php-src/tests/classes/
H A Dprivate_002.phpt6 class pass {
8 echo "Call pass::show()\n";
12 pass::show();
16 pass::do_show();
21 pass::show();
30 Call pass::show()
33 Fatal error: Uncaught Error: Call to private method pass::show() from scope fail in %s:%d
H A Dprotected_002.phpt6 class pass {
8 echo "Call pass::show()\n";
12 pass::show();
16 pass::do_show();
21 pass::show();
30 Call pass::show()
33 Fatal error: Uncaught Error: Call to protected method pass::show() from scope fail in %s:%d
H A Dprivate_005.phpt6 class pass {
12 pass::show();
16 class fail extends pass {
18 pass::show();
22 pass::do_show();
30 Fatal error: Uncaught Error: Call to private method pass::show() from scope fail in %s:%d
H A Dprotected_001.phpt6 class pass {
12 pass::fail();
16 pass::good();
17 pass::fail();// must fail because we are calling from outside of class pass
24 Fatal error: Uncaught Error: Call to protected method pass::fail() from global scope in %s:%d
H A Dfinal_redeclare.phpt6 class pass {
8 echo "Call to function pass::show()\n";
12 $t = new pass();
14 class fail extends pass {
23 Fatal error: Cannot override final method pass::show() in %s on line 12
H A Dprivate_003.phpt6 class pass {
12 pass::show();
16 class fail extends pass {
18 pass::good();
22 pass::show();
34 Fatal error: Uncaught Error: Call to private method pass::show() from scope fail in %s:%d
H A Dprivate_001.phpt6 class pass {
12 pass::show();
16 pass::do_show();
17 pass::show();
24 Fatal error: Uncaught Error: Call to private method pass::show() from global scope in %s:%d
H A Dstatic_mix_1.phpt6 class pass {
8 echo "Call to function pass::show()\n";
12 class fail extends pass {
18 pass::show();
24 Fatal error: Cannot make static method pass::show() non static in class fail in %s on line 10
H A Dstatic_mix_2.phpt6 class pass {
8 echo "Call to function pass::show()\n";
12 class fail extends pass {
18 $t = new pass();
25 Fatal error: Cannot make non static method pass::show() static in class fail in %s on line 10
H A Dprivate_004.phpt6 class pass {
12 pass::show();
16 class fail extends pass {
22 pass::do_show();
30 Fatal error: Uncaught Error: Call to private method pass::show() from scope fail in %s:%d
/php-src/ext/gd/tests/
H A Dbug79676.phpt10 … (imagecolorat($image, imagesx($image) - 1 , imagesy($image) - 1) != 0x000000 ? 'pass' : 'fail'),
25 No scaling - Test Result: pass
26 Scale 200%, default mode - Test Result: pass
27 Scale 50%, default mode - Test Result: pass
28 Scale 200%, IMG_BICUBIC mode - Test Result: pass
29 Scale 50%, IMG_BICUBIC mode - Test Result: pass
/php-src/ext/zip/examples/
H A Dencryption.php8 $pass = 'secret'; variable
16 $zip->setEncryptionName($file, ZipArchive::EM_AES_256, $pass);
23 $zip->setPassword($pass);
35 $zip->setPassword($pass);
44 'password' => $pass
/php-src/ext/standard/tests/strings/
H A Dbug73058.phpt5 $pass = 'secret';
8 var_dump(crypt($pass, $salt));
11 var_dump(crypt($pass, $salt));
14 var_dump(crypt($pass, $salt));
/php-src/ext/pdo_dblib/tests/
H A Dconfig.inc30 $pass = getenv('PDO_DBLIB_TEST_PASS');
32 $pass = 'password';
35 return [$dsn, $user, $pass];
44 [$dsn, $user, $pass] = getCredentials();
47 $db = new $class($dsn, $user, $pass, $attributes);
59 [$dsn, $user, $pass] = getCredentials();
62 $db = PDO::connect($dsn, $user, $pass);
/php-src/ext/odbc/tests/
H A Dconfig.inc5 $pass = getenv("ODBC_TEST_PASS");
13 if (false == $pass) {
14 $pass = '';

Completed in 18 milliseconds

12345678910>>...15