I am new to ChaCha20. From the RFC --
The inputs to ChaCha20 are:
o A 256-bit key, treated as a concatenation of eight 32-bit little- endian integers.
o A 96-bit nonce, treated as a concatenation of three 32-bit little- endian integers.
o A 32-bit block count parameter, treated as a 32-bit little-endian integer.
Now the counter is not provided as an input option. They implement the counter underneath the hood. For the sake of this question, let's assume the counter is implemented properly.
Now if I use a NULL nonce, the counter is still used. Will it be ok?
Is the max number of messages that can be encrypted this way before the key must be changed 2^32? or is it the max number of bytes?