Hacker News new | ask | show | jobs
by technion 883 days ago
Aes has a blocksize of 128bits, which so 96 bit is the nonce size that gets you a 32 bit counter. You probably don't want a smaller counter. Things xsalsa technically have a larger nonce but in reality still derive a smaller nonce.
1 comments

Right, but the larger key (in XSalsa and X-everything-else) effectively gets mixed into the key, which is fine.