Difference between revisions of "Talk:Direct Delivery and Automatic Notification System"

From Second Life Wiki
Jump to navigation Jump to search
(→‎Updated?: new section)
Line 14: Line 14:
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?
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 ;-)
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 ;-) [[User:Marc Adored|Marc Adored]] 08:32, 19 January 2013 (PST)

Revision as of 09:32, 19 January 2013

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 ;-) Marc Adored 08:32, 19 January 2013 (PST)