-
Is there any way to encrypt nonce between client and server? I used Key exchange and Authenticated encryption. For decryption, I need to send nonce alongside the message. Is there any way to encrypt nonce? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Bellare recently published a paper about this: https://eprint.iacr.org/2019/624.pdf But maybe you should explain the problem you are trying to solve first. With 192-bit nonces, you can safely use random nonces instead of a counter. A middle box would learn nothing from such nonces. |
Beta Was this translation helpful? Give feedback.
-
Nonces don't have to be secret. They just have to be different for each message. |
Beta Was this translation helpful? Give feedback.
Bellare recently published a paper about this: https://eprint.iacr.org/2019/624.pdf
But maybe you should explain the problem you are trying to solve first.
With 192-bit nonces, you can safely use random nonces instead of a counter. A middle box would learn nothing from such nonces.