Problem
I have node.js module that is using crypto.createHash
to generate md5
hash.
Recently I noticed that hash generated by crypto
module is different in new versions:
Code
require('crypto').createHash('md5').update('¥').digest('hex')
Node.js v0.10.0
Outputs: ab3af8566ddd20d7efc9b314abe90755
Node.js v6.1.0
Outputs: 07625e142e4ac5961de57472657a88c1
Question
I was wondering what causes that in new version and how can I solve this?
Update
Similar issues on GitHub: