r/ComputerSecurity • • Feb 07 '23

CBC and CTR mode

What happens if the same IV (or ctr) is used twice—for two different encryptions—in CBC or CTR mode?

6 Upvotes

3 comments sorted by

View all comments

Show parent comment

1

u/DawkterAitch Feb 08 '23 edited Feb 08 '23

since you have no IV in CTR mode, just you nonce + counter

CTR mode most certainly does have an IV: that nonce you speak of.