TripleDES Encrption -key length
-
Friends.. I am using a password of length 10 varchar in SQL. The problem is i am using Triple DES encryption and inserting the encrypted string into the database...I donno which datatype i can use and how much length i can allow for this datatype...Will varchar(40) do for a length of 10 chars...? Please look into the matter.
-
Friends.. I am using a password of length 10 varchar in SQL. The problem is i am using Triple DES encryption and inserting the encrypted string into the database...I donno which datatype i can use and how much length i can allow for this datatype...Will varchar(40) do for a length of 10 chars...? Please look into the matter.
This is just a wee idea, but have you tried running your encryption and doing a count of the returned characters in the string?