pvorb/node-md5

hashed value coming differntly

shibilainfoskies opened this issue · 0 comments

hello..
i have a departmentid=5
i have to pass hashed departmentid when calling API.
for that i am using npm i md5
when i hardcoded value =5 for departmentId,
md5=require('md5') ,
console.log(md5('5')); i am getting correct hashed value
but when i give console.log(md5('departmentId')); getting differentvalue