Post
Topic
Board Bitcoin Technical Support
Merits 6 from 2 users
Re: 1 BTC reward
by
Coding Enthusiast
on 04/11/2024, 13:34:44 UTC
⭐ Merited by LoyceV (4) ,PowerGlove (2)
(you missed the AES IV by the way)
Hmm... I don't think so...
You are absolutely right!

I tested it and IV is not needed. Even went through the dotnet source code and realized IV that I was setting wasn't even used. When this calls this the IV is set to null!
For some reason in my initial tests when I was first implementing this, the code only worked when I set the IV (I wasn't aware ECB mode doesn't use IV). Probably because I was changing more than one thing at a time... silly me...