public void calcTPS()
{
string tamper_proof_seal = this.secretKey
+ this.accountID
+ this.transType
+ this.amount
+ this.doRebill
+ this.rebillFirstDate
+ this.rebillExpr
+ this.rebillCycles
+ this.rebillAmount
+ this.masterID
+ this.mode;
MD5 md5 = new MD5CryptoServiceProvider();
byte[] hash;
ASCIIEncoding encode = new ASCIIEncoding();
byte[] buffer = encode.GetBytes(tamper_proof_seal);
hash = md5.ComputeHash(buffer);
this.TPS = ByteArrayToString(hash);
}