Jun 28th, 2009 | 1 Comment

These days almost every site uses JQuery. It makes your life so easy. There is this another Javascript library called JQuery Tools that is coming up as competitor for JQuery UI. Here is the link to the JQuery Tool http://flowplayer.org/tools/demos/index.html.

But the question, for which I am searching the answer is,
Can JQuery Tools really compete with JQuery UI? And who would answer this question better then you guys.

So what you guys think, JQuery Tools Vs JQuery UI, who wins?

I look forward for hearing your thoughts on this. As this may help others to decide what should they go from either of these

Written by Ajay Matharu

June 28th, 2009 at 1:39 pm

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