Hi all, Just wondering if it is possiable to add or combine 2 or more md5 checksums togeather? Basically i've got a value/file that i can get the md5 checksum for but want to be able to padd the input value/file with nulls to a specific length example:
value is : abcdef block size : 4 chars Therefore i want to get the md5 value of "abcdef\x00\x00". The above example is very small and i could just recreate the string in memmory but i will need to do this with much bigger values/files and don't want to have to use silly amounts of memmory. Maybe it would be an idea to add another parameter to the built in md5() function that specifies the starting md5 example: $checksum=md5("\x00\x00", md5("adcdef")); would return the same checksum as: $checksum=md5("abcdef\x00\x00"); -- Regards, William Bailey. Pro-Net Internet Services Ltd. http://www.pro-net.co.uk http://wb.pro-net.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php