[ Index ]

PHP Cross Reference of phpBB-3.3.11-deutsch

title

Body

[close]

/phpbb/passwords/driver/ -> helper.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: 177 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

helper:: (5 methods):
  __construct()
  hash_encode64()
  unique_id()
  get_random_salt()
  string_compare()


Class: helper  - X-Ref

__construct(\phpbb\config\config $config)   X-Ref
Construct a driver helper object

param: \phpbb\config\config $config phpBB configuration

hash_encode64($input, $count)   X-Ref
Base64 encode hash

return: string base64 encoded string
param: string $input Input string
param: int $count Input string length

unique_id($extra = 'c')   X-Ref
Return unique id

return: string Unique id
param: string $extra Additional entropy

get_random_salt($length, $rand_seed = '/dev/urandom')   X-Ref
Get random salt with specified length

return: string Random salt with specified length
param: int $length Salt length
param: string $rand_seed Seed for random data (optional). For tests.

string_compare($string_a, $string_b)   X-Ref
Compare two strings byte by byte

return: bool True if strings are the same, false if not
param: string $string_a The first string
param: string $string_b The second string



Generated: Sat Nov 4 14:26:03 2023 Cross-referenced by PHPXref 0.7.1