original_string: public static function generate_token($length) {
  	$byte_length = ($length / 2);
  	$new_token = bin2hex(openssl_random_pseudo_bytes($byte_length, $strong_enough));
  	if ($strong_enough == false || empty($new_token)) {
  		$exception = bootstrap::get_library('exception');
  		throw new $exception('can not generate cryptographically strong enough token');
  	}
  	
  	return $new_token;
  }
code: public static function generate_token($length) {
  	$byte_length = ($length / 2);
  	$new_token = bin2hex(openssl_random_pseudo_bytes($byte_length, $strong_enough));
  	if ($strong_enough == false || empty($new_token)) {
  		$exception = bootstrap::get_library('exception');
  		throw new $exception('can not generate cryptographically strong enough token');
  	}
  	
  	return $new_token;
  }
code_tokens: public static function generate_token ( $ length ) { $ byte_length = ( $ length / 2 ) ; $ new_token = bin2hex ( openssl_random_pseudo_bytes ( $ byte_length , $ strong_enough ) ) ; if ( $ strong_enough == false || empty ( $ new_token ) ) { $ exception = bootstrap :: get_library ( 'exception' ) ; throw new $ exception ( 'can not generate cryptographically strong enough token' ) ; } return $ new_token ; }
docstring: generates cryptographically strong tokens
  
  @param  int $length of the returned string
  @return string
docstring_tokens: generates cryptographically strong tokens