WordPress at a glance
function is not described

PasswordHash::get_random_bytes() public WP 1.0

{} It's a method of the class: PasswordHash{}

No Hooks.

Return

````. Null. Nothing.

Usage

$PasswordHash = new PasswordHash();
$PasswordHash->get_random_bytes( $count );
$count (required)
-

Code of PasswordHash::get_random_bytes() WP 5.7

<?php
function get_random_bytes($count)
{
	$output = '';
	if ( @is_readable('/dev/urandom') &&
	    ($fh = @fopen('/dev/urandom', 'rb'))) {
		$output = fread($fh, $count);
		fclose($fh);
	}

	if (strlen($output) < $count) {
		$output = '';
		for ($i = 0; $i < $count; $i += 16) {
			$this->random_state =
			    md5(microtime() . $this->random_state);
			$output .=
			    pack('H*', md5($this->random_state));
		}
		$output = substr($output, 0, $count);
	}

	return $output;
}