 To ensure that a nonce is used only once, it should be time-variant (including a suitably fine-grained timestamp in its value), or generated with enough random bits to ensure a probabilistically insignificant chance of repeating a previously generated value.Some authors define pseudo-randomness (or unpredictability) as a requirement for a nonce.Authentication protocols may use nonces to ensure that old communications cannot be reused in replay attacks.