Well I thought I would try to do better at updates. Oh well. Not sure anyone reads this anymore anyway. Just a place to stash random ideas. Perhaps it will become something more one of these days.
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
This is another Aaron Beebe, from Brooklyn, New York.
Can you get in touch with me? I have a question for you.
Thanks!
Aaron
aaron@aaronbeebe.net