Function __global->_phpbb_hash_encode64

Definitions

sources/forum/phpbb3.php

  • phpBB: Encode hash.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$input string No No required parameter N/A N/A To encode
$count integer No No required parameter N/A N/A How many chars to encode
$itoa64 string No No required parameter N/A N/A Lookup table used internally

Returns

  • The encoded output
  • Type: string
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * phpBB: Encode hash.
 *
 * @param  string $input To encode
 * @param  integer $count How many chars to encode
 * @param  string $itoa64 Lookup table used internally
 * @return string The encoded output
 */

function _phpbb_hash_encode64(string $input, int $count, string $itoa64) : string