/// <summary> /// using inside wallet for signing transaction /// </summary> /// <param name="PrivateKey">issuer privatekey path</param> public void GenerateSignture(string PrivateKey) { using (var rsa = new RsaSignatureProvider(PrivateKey)) { var data = (ID.ToString() + Issuer + Reciepient + Amount + TransactionVersion.ToString() + Sequence.ToString()); _signture = rsa.GenerateSignture(data); Signture = _signture.Value; } }
public string GetHashString() { return((ID.ToString() + Issuer + Reciepient + Amount + TransactionVersion.ToString() + Sequence.ToString()).GetHashString()); }
public string GetHashString() { return((ID.ToString() + TransactionIssuer + Reciepient + Amount + TransactionVersion.ToString() + Sequence.ToString()).GetHashString(HashAlgorithms.SHA256)); }