News for hackers. Stuff that matters.
Re:Rolling Your Own Crypto by 77pt77 on Tuesday December 20, 2016 @05:03PM (#13224556)
Forget that.

How is the IV stored for example.

Re:Rolling Your Own Crypto by Rebelgecko on Tuesday December 20, 2016 @07:14PM (#13225628)
Block 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.
Re:Rolling Your Own Crypto by tptacek on Tuesday December 20, 2016 @11:05PM (#13226707)
You 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.

Re:Rolling Your Own Crypto by Rebelgecko on Wednesday December 28, 2016 @10:18PM (#13275431)
By 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)
Re:Rolling Your Own Crypto by WillSlim95 on Wednesday December 21, 2016 @12:11AM (#13226944)
Umm 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,
Re:Rolling Your Own Crypto by tom_b on Wednesday December 21, 2016 @01:40PM (#13231500)
The founders wound it down. Thomas is threatening to actually do a write-up about the experience sometime (poke, poke).
Re:Rolling Your Own Crypto by tptacek on Wednesday December 21, 2016 @02:00PM (#13231659)
I 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.
Re:Rolling Your Own Crypto by tom_b on Wednesday December 21, 2016 @02:36PM (#13231947)
Cool - 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.
Re:Rolling Your Own Crypto by tptacek on Wednesday December 21, 2016 @03:32PM (#13232376)
We 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!
Re:Rolling Your Own Crypto by pps43 on Tuesday December 20, 2016 @07:37PM (#13225772)
API 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.