Below is a sample code which performs MD5 hash algorithm on a simple string. public string GetMD5Hash(string input) { // Create object of MD5 crypto service provider. System.Security.Cryptography.MD5CryptoServiceProvider x = new System.Security.Cryptography.MD5CryptoServiceProvider(); // Convert the string into byte array. byte[] bs = System.Text.Encoding.UTF8.GetBytes(input); // Perform ComputeHash on the byte array which will return the hash [...]
Archive for May, 2009
MD5 in C#.Net
Posted in Technology, Visual Studio, tagged C#.Net, Encryption, Hash Algorithm, MD5, Security, String Encryption on May 28, 2009 | Leave a Comment »
How To Write In Sharepoint Log File
Posted in Sharepoint, Technology, tagged Logs, MOSS 07, PortalLog, Sharepoint, Sharepoint Log on May 16, 2009 | 3 Comments »
Recently I came across a requirement to write logs in Sharepoint log files. Add Microsoft.Office.Server dll in your project, you can find this dll under “\Common Files\Microsoft Shared\Web Server Extensions\12\ISAPI\”. The log files are found under \Common Files\Microsoft Shared\Web Server Extensions\12\Log\. Following line of code is used to write exception in sharepoint default log file. [...]
Benefits Of USB 2.0 Storage Device In Windows Vista
Posted in Technology, tagged RAM, Storage Device, USB 2.0, Widows Vista, Windows Vista Features on May 12, 2009 | Leave a Comment »
Based on its name its concluded that USB 2.0 Storage Device is used as a storage medium.But Windows Vista has came up with an amazing feature of using the Storage device as RAM. The featureĀ is called ReadyBoost. This feature enables the use of a USB storage device instead of the slow paging file on [...]
What Is Motivation?
Posted in General, Motivational, tagged Inspiration, Motivational, Positive Thinking, Self Development on May 4, 2009 | 3 Comments »
Technically speaking Motivation is the set of reasons that determines one to engage in a particular behavior.But in general definition it’s a set of magical words which acts as an energizer for an individual. Being a human we have many goals.To achieve it we practice step by step process in achieving that goal,so we set [...]
