developer:soap-1.2: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.2:objects:uehash [2010/02/12 10:39]
hmcgowan created
developer:soap-1.2:objects:uehash [2010/09/17 16:15]
irina
Line 23: Line 23:
  
 ===== Examples ===== ===== Examples =====
 +==== .NET C# ====
 +<code c>
 +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);​
 +
 +            // Add hash to token
 +            token.PinHash = hash;
 +</​code>​
developer/soap-1.2/objects/uehash.txt ยท Last modified: 2010/10/20 15:21 by irina

Page Tools