[ Index ]

PHP Cross Reference of phpBB-3.3.2-deutsch

title

Body

[close]

/phpbb/passwords/driver/ -> bcrypt.php (summary)

This file is part of the phpBB Forum Software package.

Copyright: (c) phpBB Limited
License: GNU General Public License, version 2 (GPL-2.0)
File Size: 135 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

bcrypt:: (7 methods):
  __construct()
  get_prefix()
  needs_rehash()
  hash()
  check()
  get_random_salt()
  get_settings_only()


Class: bcrypt  - X-Ref

__construct(\phpbb\config\config $config, helper $helper, $cost_factor = 10)   X-Ref
Constructor of passwords driver object

param: \phpbb\config\config $config phpBB config
param: \phpbb\passwords\driver\helper $helper Password driver helper
param: int $cost_factor Hashing cost factor (optional)

get_prefix()   X-Ref
{@inheritdoc}


needs_rehash($hash)   X-Ref
{@inheritdoc}


hash($password, $salt = '')   X-Ref
{@inheritdoc}


check($password, $hash, $user_row = array()   X-Ref
{@inheritdoc}


get_random_salt()   X-Ref
Get a random salt value with a length of 22 characters

return: string Salt for password hashing

get_settings_only($hash, $full = false)   X-Ref
{@inheritdoc}




Generated: Wed Nov 11 20:28:18 2020 Cross-referenced by PHPXref 0.7.1