Author: Elnath | Posted on: 3/16/2010 6:03:08 PM | Views : 272

helo,
reading on the web ive found the code below; i wonder if an encrypted string using this block generates an unique result or if different encrypted sources can result in the same crypted array:


private static TripleDES CreateDES(string password)
            {

                MD5 md5 = new MD5CryptoServiceProvider();

                TripleDES des = new TripleDESCryptoServiceProvider();

                des.Key = md5.ComputeHash(Encoding.Unicode.GetBytes(password));

                des.IV = new byte[des.BlockSize / 8];

      ...

Go to the complete details ...