You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry if this generic crypto question is out of scope.
What nonce operation mode would you suggest for a stateful message exchange protocol built on top of secretbox? I can imagine at least two options:
generate random nonce in every message, send length and nonce in authenticated clear text
hello message as above with another secret nonce in payload, derive all next nonces from that secret payload, send only authenticated length in clear text
My use case is RPC with messages around 50-200 bytes on expensive 3g network, and shaving 24 bytes from each message is definitely worth pursuing.
Thanks for your time.
The text was updated successfully, but these errors were encountered:
Sorry if this generic crypto question is out of scope.
What nonce operation mode would you suggest for a stateful message exchange protocol built on top of secretbox? I can imagine at least two options:
My use case is RPC with messages around 50-200 bytes on expensive 3g network, and shaving 24 bytes from each message is definitely worth pursuing.
Thanks for your time.
The text was updated successfully, but these errors were encountered: