function getFormSignature($account, $currency, $desc, $sum, $secretKey) { $hashStr = $account.'{up}'.$currency.'{up}'.$desc.'{up}'.$sum.'{up}'.$secretKey; return hash('sha256', $hashStr); }