Alright so I am kind of torn, I love the way that Vox works and all of the simplicity therein. Which is where I have been posting recently, if you can call it that. But I also am very fond of the flexibility that blogger has. In that it allows me to do a number of different things and even edit the code for the template and for all of my posts. So I need to make a decision, where will my domain point? Here or there. Stay tuned for the answer.
This function will take a string and return the hashed value using System.Security.Cryptography; public static string GetSha1(string value) { var data = Encoding.ASCII.GetBytes(value); var hashData = new SHA1Managed().ComputeHash(data); var hash = string.Empty; foreach (var b in hashData) hash += b.ToString("X2"); return hash; } Thanks to Lars-Erik
Comments