pvorb/node-md5

Fails to do md5 as mysql

ieugen opened this issue · 2 comments

Hi,

It does not do md5 as implemented by other libraries.

using your library md5(407) = 04d66382cf969fa4defdeb4b844b3ee2
using [1] md5(407) = f4f6dce2f3a0f9dada0c2b5b66452017
using MYSQL: select MD5(407); = f4f6dce2f3a0f9dada0c2b5b66452017

[1] https://blueimp.github.io/JavaScript-MD5/

pvorb commented

Call md5('407') instead.

md5(407) = '04d66382cf969fa4defdeb4b844b3ee2'
md5('407') = 'f4f6dce2f3a0f9dada0c2b5b66452017'

My bad for not reading the docs after upgrade. The behavior changed from the older release I was using and worked as expected.