Talk:Direct Delivery and Automatic Notification System

From Second Life Wiki
Revision as of 08:31, 19 January 2013 by Marc Adored (talk | contribs) (→‎Updated?: new section)
Jump to navigation Jump to search

Regarding the .NET example for the ANS verification, the use of FormsAuthentication.HashPasswordForStoringInConfigFile() is somewhat unorthodox but it's a single call and it works. For an alternative I offer the following:

 
string calcHash;
System.Security.Cryptography.SHA1Managed hashAlgorithm = new System.Security.Cryptography.SHA1Managed();
System.Text.ASCIIEncoding encoder = new System.Text.ASCIIEncoding();
byte[] bytes = encoder.GetBytes(Request.Url.Query.Remove(0,1) + saltCode);
bytes = hashAlgorithm.ComputeHash(bytes);
calcHash = BitConverter.ToString(bytes).Replace("-","").ToLowerInvariant();

Antonius Frentis 18:10, 23 September 2012 (PDT)

Updated?

I see XStreet plastered all over this so I was wondering if this wiki is updated to all (if any) of the latest ANS features and specifications?

Also I suggest that this page be linked to from the ANS page on the marketplace instead of it just saying "For more information on ANS, please see the Knowledge Base.". Mainly because the knowledge base doesn't contain any ANS information but the wiki does ;-)