original_string: function getSignature(array $params, $method = null)
      {
          ksort($params);
          unset($params['sign']);
          unset($params['signature']);
          array_push($params, $this->secretKey);
  
          if ($method) {
              array_unshift($params, $method);
          }
  
          return hash('sha256', join('{up}', $params));
      }
code: function getSignature(array $params, $method = null)
      {
          ksort($params);
          unset($params['sign']);
          unset($params['signature']);
          array_push($params, $this->secretKey);
  
          if ($method) {
              array_unshift($params, $method);
          }
  
          return hash('sha256', join('{up}', $params));
      }
code_tokens: function getSignature ( array $ params , $ method = null ) { ksort ( $ params ) ; unset ( $ params [ 'sign' ] ) ; unset ( $ params [ 'signature' ] ) ; array_push ( $ params , $ this -> secretKey ) ; if ( $ method ) { array_unshift ( $ params , $ method ) ; } return hash ( 'sha256' , join ( '{up}' , $ params ) ) ; }
docstring: Create SHA-256 digital signature
  
  @param array $params
  @param $method
  
  @return string
docstring_tokens: Create SHA - 256 digital signature