Jun 14th, 2009 | No Comments

When selling our ideas, we tend to overpromise in our enthusiasm for our creation. In our vision of how we hope it will be, we leave no room for failure. The result will probably be disappointing. Not disastrous, but a little less than expected.

No one will say anything, they just won’t trust you quite as much next time. Basically you’ve blown it. If instead you undersell, pointing out the possible weaknesses and how to resolve them, should they occur, you are not only building a trusting relationship with your client but you’re able to solve any problems. And if it does turn out the way you hoped, it is a bonus.

Written by Ajay Matharu

June 14th, 2009 at 1:30 am

Jun 12th, 2009 | No Comments

To get MD5 hash in C# use this method. It returns same value AS MD5() function in PHP

        public string GetMD5Hash(string input)
        {
            System.Security.Cryptography.MD5CryptoServiceProvider x = new System.Security.Cryptography.MD5CryptoServiceProvider();
            byte[] bs = System.Text.Encoding.UTF8.GetBytes(input);
            bs = x.ComputeHash(bs);
            System.Text.StringBuilder s = new System.Text.StringBuilder();
            foreach (byte b in bs)
            {
                s.Append(b.ToString("x2").ToLower());
            }
            string password = s.ToString();
            return password;
        }

And this one is in PHP


These both will return the same value

Written by Ajay Matharu

June 12th, 2009 at 10:32 am