code: function(password, salt) {
  	var hash = npm_crypto.createHmac('sha512', salt); /** Hashing algorithm sha512 */
  	hash.update(password);
  	var value = hash.digest('hex');
  	return {
  		salt: salt,
  		passwordHash: value
  	};
  }
docs: hash password with sha512.
  @function
  @param {string} password - List of required fields.
  @param {string} salt - Data to be validated.