GenerateNonce

Generates a random nonce (number used once) of the desired length