64bit hashing algorithm
-
hi all is there any 64bit hashing algorithm implemented in .net? i am using .net 3.5 and need to encrypt a string with length of 3 to a byte array of length 8 or 10 for example : hash("ABC")="!@?{%ER)@w" any suggestion?
-
hi all is there any 64bit hashing algorithm implemented in .net? i am using .net 3.5 and need to encrypt a string with length of 3 to a byte array of length 8 or 10 for example : hash("ABC")="!@?{%ER)@w" any suggestion?
Take the first half of the MD5 hash. I don't know how many collisions it will create or if they are uniform but it may work?
Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. I also do Android Programming as I find it a refreshing break from the MS. "And they, since they Were not the one dead, turned to their affairs" -- Robert Frost
-
Take the first half of the MD5 hash. I don't know how many collisions it will create or if they are uniform but it may work?
Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. I also do Android Programming as I find it a refreshing break from the MS. "And they, since they Were not the one dead, turned to their affairs" -- Robert Frost
hi no i need a class implemented in .net some thing like MD5 Class . but it have to generate byte array of length 6 to 10 (not 16 byte or higher).
-
hi no i need a class implemented in .net some thing like MD5 Class . but it have to generate byte array of length 6 to 10 (not 16 byte or higher).
I would read my post again. Last time I checked 16/2 = 8.
Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. I also do Android Programming as I find it a refreshing break from the MS. "And they, since they Were not the one dead, turned to their affairs" -- Robert Frost
-
I would read my post again. Last time I checked 16/2 = 8.
Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. I also do Android Programming as I find it a refreshing break from the MS. "And they, since they Were not the one dead, turned to their affairs" -- Robert Frost
it would give ambiguous meaning does anyone know something about this problem?
-
it would give ambiguous meaning does anyone know something about this problem?
All hashing algorithms give ambiguous results. The number of expected collisions is directly proportional to the input size, output size and quality of the hashing algorithm. Read the Wiki page on the subject for more information about hashing.
Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. I also do Android Programming as I find it a refreshing break from the MS. "And they, since they Were not the one dead, turned to their affairs" -- Robert Frost