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
AES-CTR fails catastrophically when one reuses the same key, and the same IV/counter.
Could you please update the README to warn people to never, ever, ever reuse the IV when using AES-CTR?
When using CTR, the developer has to create a method of ensuring that a new IV/counter is used every time, if the is a chance that the key can be used.
Therefore the default should probably not start counting at 1, but at a random number, unless the developer explicitly specify a counter.