$md5() hashes are wrong? - 14/09/03 06:49 AM
/set %test ST,m#r3)Ewny*QKLk0&bq0*)%6L95h,62bEL8tyqj9Z10Hc7PiRmrcyYcIrr1sR32D
//echo -a $md5(%test)
for me it returns: 1b760d965e79af72d8d7f946c585b3e6
other md5 hash generators return (which is should be): 1e37c30052a2764298cf2805fcc267f5
Either I am making a mistake, or the $md5() function is generating the hash incorrectly.
edit: After some more testing, it seems only hashes with % in the text come out wrong, even if set through a variable as the above example, which in theory should work fine because the % should be treated as plain text and not a variable...
comments, ideas?
//echo -a $md5(%test)
for me it returns: 1b760d965e79af72d8d7f946c585b3e6
other md5 hash generators return (which is should be): 1e37c30052a2764298cf2805fcc267f5
Either I am making a mistake, or the $md5() function is generating the hash incorrectly.
edit: After some more testing, it seems only hashes with % in the text come out wrong, even if set through a variable as the above example, which in theory should work fine because the % should be treated as plain text and not a variable...
comments, ideas?