[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/_test/tests/inc/ -> auth_password.test.php (summary)

(no description)

File Size: 146 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

auth_password_test:: (15 methods):
  hashes()
  test_cryptPassword()
  test_verifyPassword()
  test_verifySelf()
  test_bcrypt_self()
  test_verifyPassword_fixedbcrypt()
  test_verifyPassword_nohash()
  test_verifyPassword_fixedpmd5()
  test_verifypassword_drupal_sha512()
  test_verifypassword_drupal_migrated_6to7()
  test_verifyPassword_seafilepbkdf2()
  test_veryPassword_mediawiki()
  test_verifyPassword_pmd5Exception()
  test_verifyPassword_sha256_crypt()
  test_verifyPassword_sha512_crypt()


Class: auth_password_test  - X-Ref

hashes()   X-Ref
precomputed hashes

for the password foo$method, using abcdefgh12345678912345678912345678 as salt

return: array

test_cryptPassword($method, $hash)   X-Ref

param: $method
param: $hash

test_verifyPassword($method, $hash)   X-Ref

param: $method
param: $hash

test_verifySelf($method, $hash)   X-Ref

param: $method
param: $hash

test_bcrypt_self()   X-Ref
No description

test_verifyPassword_fixedbcrypt()   X-Ref
No description

test_verifyPassword_nohash()   X-Ref
No description

test_verifyPassword_fixedpmd5()   X-Ref
No description

test_verifypassword_drupal_sha512()   X-Ref
No description

test_verifypassword_drupal_migrated_6to7()   X-Ref
No description

test_verifyPassword_seafilepbkdf2()   X-Ref
No description

test_veryPassword_mediawiki()   X-Ref
No description

test_verifyPassword_pmd5Exception()   X-Ref
pmd5 checking should throw an exception when a hash with a too high
iteration count is passed


test_verifyPassword_sha256_crypt()   X-Ref
No description

test_verifyPassword_sha512_crypt()   X-Ref
issue #2629, support PHP's crypt() format (with rounds=0 parameter)