예제 #1
0
 private string GetTradeSha(string aesTradeInfoString, string hashKey, string hashIv)
 {
     return(HashService.EncryptSHA256($"HashKey={hashKey}&{aesTradeInfoString}&HashIV={hashIv}"));
 }
예제 #2
0
 private string GetQueryTradeInfoCheckValue(string queryTradeInfo, string hashKey, string hashIv)
 {
     return(HashService.EncryptSHA256($"IV={hashIv}&{queryTradeInfo}&Key={hashKey}"));
 }
예제 #3
0
 private string GetCheckCode(string checkCodeInfoString, string hashKey, string hashIv)
 {
     return(HashService.EncryptSHA256($"HashIV={hashIv}&{checkCodeInfoString}&HashKey={hashKey}"));
 }