function hashRefreshToken(refreshToken) {
  const refreshTokenHash = crypto
    .createHash('sha256')
    .update(refreshToken)
    .digest('hex');
  return refreshTokenHash;
}
@description Hash a refresh token.
@param {string} refreshToken - The refresh token to hash.
@returns {string} The hash of the refresh token.
@example
hashRefreshToken('xx');