generate_share_key()

Description

Generates an external share key based on provided string

Parameters

ColumnTypeDefaultDescription
$string string

Return

string Generated key

Location

include/collections_functions.php lines 6034 to 6037

Definition

 
function generate_share_key($string)
{
    return 
substr(md5($string "," time() . rand()), 010);
}

This article was last updated 1st June 2025 07:05 Europe/London time based on the source file dated 29th May 2025 11:25 Europe/London time.