matherp Guru
 Joined: 11/12/2012 Location: United KingdomPosts: 11174 |
| Posted: 08:49am 21 Dec 2024 |
|
|
|
Jim
Very interesting. I'd assumed the IV was like a second key that had to be known by the recipient but including it in the message makes much more sense. I'll make the changes to the encrypt code to use a random IV unless overridden and get rid of the IV option on the decrypt as I will include it in the message as the first block. Does the same approach apply to CTR encryption? |