News for hackers. Stuff that matters.
Re:Distrustful U.S. allies force spy agency to back down in ... by SomeStupidPoint on Thursday September 21, 2017 @10:53AM (#15304011)
This is a tangent but...

> SIMON and SPECK are both pretty straightforward block cipher designs. You can implement them in less than 100 lines of code.

If I super promise to never let the code off my computer, can you point me to resources to do that for educational purposes?

Re:Distrustful U.S. allies force spy agency to back down in ... by tptacek on Thursday September 21, 2017 @10:56AM (#15304046)
Google [filetype:pdf SIMON SPECK].

If you've never implemented a cipher before, they're both pretty good first ciphers to implement. They're simple without being unrealistically simple, like RC4. The paper has test vectors, so you can make sure what you come up with is actually correct.

Re:Distrustful U.S. allies force spy agency to back down in ... by Rebelgecko on Thursday September 21, 2017 @12:47PM (#15305262)
One of their talks has a tweet sized implementation, if you want to look at that. If you don't want to be "spoiled" be careful reading the original paper because it has Speck in C IIRC. They're also good algorithms if you want practice with SIMD instructions.

http://csrc.nist.gov/groups/ST/lwc-workshop2015/papers/sessi...