Closed geon closed 8 years ago
The hashing should be done in utf-8 mode, since the string is utf-8. Before Node v6, the default was binary.
https://nodejs.org/api/crypto.html#crypto_hash_update_data_input_encoding https://github.com/nodejs/node/issues/6813
The hashing should be done in utf-8 mode, since the string is utf-8. Before Node v6, the default was binary.
https://nodejs.org/api/crypto.html#crypto_hash_update_data_input_encoding https://github.com/nodejs/node/issues/6813