Clarify "zero nonce" #227
paulmillr
started this conversation in
Spec feedback
Replies: 3 comments 1 reply
-
This comment should explain: age/internal/age/primitives.go Lines 24 to 28 in e43cf8b |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yeah, just would be great to have this clarified in the spec. |
Beta Was this translation helpful? Give feedback.
0 replies
-
What about multi-target attacks? https://blog.cr.yp.to/20151120-batchattacks.html |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
encrypt[key](plaintext) is ChaCha20-Poly1305 from RFC 7539 with a zero nonce.
Everyone keeps saying we should never reuse nonces.
Is age using zero nonces because the underlying messages never repeat? If so, the spec should clarify this part. Also, what is zero? Empty byte array, or a byte array with
[0x0]
?Beta Was this translation helpful? Give feedback.
All reactions