PasswordHash::__construct()
Method of the class: PasswordHash{}
No Hooks.
Return
null
. Nothing (null).
Usage
$PasswordHash = new PasswordHash(); $PasswordHash->__construct( $iteration_count_log2, $portable_hashes );
- $iteration_count_log2 (required)
- -
- $portable_hashes (required)
- -
PasswordHash::__construct() PasswordHash:: construct code WP 6.7.1
function __construct($iteration_count_log2, $portable_hashes) { $this->itoa64 = './0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'; if ($iteration_count_log2 < 4 || $iteration_count_log2 > 31) { $iteration_count_log2 = 8; } $this->iteration_count_log2 = $iteration_count_log2; $this->portable_hashes = $portable_hashes; $this->random_state = microtime(); if (function_exists('getmypid')) { $this->random_state .= getmypid(); } }