diff --git a/client/lib/hash-key.js b/client/lib/hash-key.js index 95dee5e..4c1654a 100644 --- a/client/lib/hash-key.js +++ b/client/lib/hash-key.js @@ -1,14 +1,14 @@ var crypto = require('crypto'); /** - * Hash a key using md4 & base64 encoding. Md4 is used as the implementation + * Hash a key using md5 & base64 encoding. Md4 is used as the implementation * in node is the fastest hashing alg supported. * @param {string} key value to hash * @return {string} hashed key */ var hashKey = function hashKey(key) { return crypto - .createHash('md4') + .createHash('md5') .update(key) .digest('base64'); };