Nonces
A nonce is a value used only once in cryptographic communications to ensure freshness and protect against replay attacks. The term is a contraction of "number used once" and can refer to a random, unpredictable value or a monotonically increasing counter, depending on the protocol.
In practice, nonces are combined with other data such as a shared key, username, timestamp, or message
Common applications include challenge-response authentication, where a server issues a nonce and a client responds with
Important distinctions: a nonce is not a secret, and its primary properties are uniqueness and, in some
Implementation considerations include choosing an appropriate generation method (cryptographically secure randomness or strict counters), ensuring freshness