developer:soap-1.1:objects:uehash

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Last revision Both sides next revision
developer:soap-1.1:objects:uehash [2009/06/24 14:11]
charlie created
developer:soap-1.1:objects:uehash [2010/10/04 15:03]
irina
Line 23: Line 23:
  
 ===== Examples ===== ===== Examples =====
 +==== .NET C# ====
 +<code c>
  
 +
 +            // Instantiate Hash
 +            usaepay.ueHash hash = new usaepay.ueHash();​
 +            hash.Type = "​md5"; ​ // Type of encryption ​
 +            hash.Seed = Guid.NewGuid().ToString(); ​ // unique encryption seed
 +
 +            // Assemble string and hash
 +            string prehashvalue = string.Concat(token.SourceKey,​ hash.Seed, pin);
 +            hash.HashValue = GenerateHash(prehashvalue);​
 +
 +</​code>​
developer/soap-1.1/objects/uehash.txt ยท Last modified: 2010/10/22 17:11 by irina

Page Tools