hashAdminToken(token, salt) {
    const hash = crypto.createHmac('sha256', salt);
    hash.update(token);
    return hash.digest('hex');
  }
Hashes an admin token with a given salt. In v0.4.x and earlier, salt is the projectId.
@param {string} token
@param {string} salt