Visual Studio offers tons of useful debugging features and allows you to step through your code line-by-line. However, there are times when you don’t want to step through your application, but want to make it output simple text strings with variable …
How do I send out simple debug messages to help with my debugging?
October 10, 2006 By Leave a Comment
How do I calculate a MD5 hash from a string?
October 10, 2006 By Leave a Comment
It is a common practice to store passwords in databases using a hash. MD5 (defined in RFC 1321) is a common hash algorithm, and using it from C# is easy.
Here’s an implementation of a method that converts a string to an MD5 hash, which is a 32-charac…