protected function createSignature($data, $secret)
    {
        return base64_encode(hash_hmac('sha512', http_build_query($data, '', '&'), base64_decode($secret), true));
    }
protected function createSignature($data, $secret)
    {
        return base64_encode(hash_hmac('sha512', http_build_query($data, '', '&'), base64_decode($secret), true));
    }
protected function createSignature ( $ data , $ secret ) { return base64_encode ( hash_hmac ( 'sha512' , http_build_query ( $ data , '' , '&' ) , base64_decode ( $ secret ) , true ) ) ; }
Create a unique signature for transmission.
@return string
Create a unique signature for transmission .