PasswordHash::gensalt_private

Advertisement

Syntax Syntax

PasswordHash::gensalt_private( $input )

Source Source

File: wp-includes/class-phpass.php

	function gensalt_private($input)
	{
		$output = '$P$';
		$output .= $this->itoa64[min($this->iteration_count_log2 +
			((PHP_VERSION >= '5') ? 5 : 3), 30)];
		$output .= $this->encode64($input, 6);

		return $output;
	}

Advertisement

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.