Generate the signature for passed parameters.
public static generateSign ( array $params, string $secret, string $namespace = 'sign' ) : string | ||
$params | array | Array of parameters to be signatured |
$secret | string | Secret key for signature |
$namespace | string | The parameter which will be excluded when calculate the signature |
return | string | Signature of the parameters |