News for hackers. Stuff that matters.
Re:Cryptographic Right Answers by cperciva on Tuesday April 03, 2018 @10:32PM (#16751424)
I think this is our largest point of divergence.

While I'm on the topic:

Password handling: I skip bcrypt because the only reason to not use scrypt is if you need a US Government endorsed scheme. But yeah, it's (slightly) better than PBKDF2.

Cryptographic primitives: I think "use NaCl" is cheating a bit as far as answers go; that may be reasonable advice to implementors but it's not a protocol specification. So I'm reading those as "use foo, via the NaCl library".

As for what the foo in question should be: I'm gradually becoming more comfortable with curves, and 25519 in particular; similarly with sbox-free symmetric crypto (e.g., djb's dances and Keccak). At this point I'd say it comes down to how conservative you are; I wouldn't say that someone using XSalsa20+Poly1305 is wrong to do so.

Re:Cryptographic Right Answers by pbsd on Wednesday April 04, 2018 @12:11AM (#16751827)
To be pedantic, Keccak does have a 5 to 5 bit S-box. But like 3-Way, NOEKEON, Serpent, etc, it's disguised---bitsliced---as a short sequence of boolean operations.
Re:Cryptographic Right Answers by cperciva on Wednesday April 04, 2018 @12:51AM (#16752038)
If you want to be really pedantic, every boolean operation is just a 2->1 bit S-box...