A Hash-Chain Based Method for Full or Partial Authentication of Communication in a Real-Time Wireless Environment