3 ms·
Forget that. How is the IV stored for example.
by 77pt77 10y ago
Forget that.
How is the IV stored for example.
- Rebelgecko 10y agoBlock ciphers in ECB mode don't use an IV. If you were going to use this random crypto code on github (bad idea for various reasons), you'd want to wrap it in GCM or something similar (then you get to deal with IVs, tags, etc). I suppose part of the issue that people don't want to deal with (or don't see the need for) the added complexity of IVs and authentication.
- tptacek 10y agoYou can't just "wrap" SPECK in GCM-mode! In many of its configurations, it has a block too short to safely run GCM in. Don't roll your own crypto.
- WillSlim95 10y agoUmm this is a bit off-topic , but I don't know how else to reach out. But I have been not able to access Star Fighters due to a certificate failure, could you please check it out or point me towards whom to contact,
- tom_b 10y agoThe founders wound it down. Thomas is threatening to actually do a write-up about the experience sometime (poke, poke).
- tptacek 10y agoI really am doing it (I also really am publishing a bunch more challenges). I just had dinner with Patrick last night and talked about it a bit. I've got a lot on my plate at the moment, though.
- tom_b 10y agoCool - thanks to all three of you for Starfighter. I'm sad it didn't work out as envisioned. Looking forward to the eventual write-up when it fits into your time.
- tptacek 10y agoWe will for sure be taking another whack at this down the road, and in the meantime I'm pretty psyched to apply the same ideas again to a hiring practice I actually own (we'll surely be doing the same thing at Latacora); at least I'll get another finger-wagging blog post out of it!
- Rebelgecko 10y agoBy many configurations, do you mean with a block size ≠ 128 bits? I should've specified that when I posted (notwithstanding issues with rolling your own crypto)
- pps43 10y agoAPI is Encrypt(data,key) and Decrypt(data,key). There's no IV. It's just a block cipher. Once you start adding things like CTR mode, MAC, etc. the API is no longer as simple.