Tag Info

New answers tagged

1

This is a random guess as I'm not an expert... To answer the question in the title, "What's the point of the nonce in CTR mode?", I would say that it's to make the protocol stateless. Meaning that both side doesn't need to store any information in order to encrypt/decrypt multiple runs, except the key. To understand the above statement, let's look at block ...


8

The "nonce" is better known as the Initialization Vector -- with "IV" being the universal short name for that concept. CTR mode works by encrypting the successive values of a counter (CTR stands for "CounTeR"), so the IV in CTR mode is merely the value at which the counter starts. CTR basically produces a long key-dependent pseudorandom stream, and ...


5

From the question: "because the request should not occur twice." No storage means no sense of history which is necessary for your requirement that something shouldn't occur twice. So the answer is no. If you want your server app to remember what happened in the past it has to be able to store that somewhere. You could implement a nonce that was ...



Top 50 recent answers are included