| ▲ | tptacek 2 hours ago | ||||||||||||||||
NSA has demonstrably and repeatedly strengthened cryptographic standards. The last time they "attempted to weaken" a standard was back in the 1970s with DES. 25 years ago, just after the conclusion of the key escrow debate, they inserted a backdoor into standards, but even that backdoor was cryptographically strong. Since then, we have repeated counterexamples to your claim: * AES, selected by NIST with NSA's approval, remains the gold standard for bulk encryption. * SHA2, NSA's response to SHA1, is so solid JP Aumasson believes it may never be broken. * SHA3, selected by NIST with NSA's approval, is a European academic cryptography artifact. * P-256 was until last week the best known classical-setting mainstream key exchange; implementations caught up to the engineering improvements in Curve25519, and we now know conclusively where the seeds came from (spoiler: benign and dumb). People will read this and assume I'm saying "you should trust NSA". I don't believe that. A healthy distrust of NSA is a good thing. But it's also important to understand how the world actually works, or you'll end up saying things like "every NSA-approved standard has been weakened", and this is how you end up doing block cipher cascades and SRP. Everything would be so much easier if NSA could simply be counted on to fuck everything up. But they can't. Cryptography is hard, and to reason about it, people need to actually learn at least a little bit of cryptography math; heuristics like the one you propose here are always counterproductive. | |||||||||||||||||
| ▲ | adrian_b 2 hours ago | parent | next [-] | ||||||||||||||||
As I have already said, NSA has an ambivalent attitude against cryptographic standards, so indeed there are examples for both actions, when they have strengthened standards and when they have weakened standards. Whether they have more often strengthened or weakened is debatable. Your examples are not very good, because NSA has not contributed to Rijndael (AES) and Keccak (SHA3), it has just accepted these 2 good algorithms to be standardized, so it neither strengthened nor weakened the AES and SHA3 standards. SHA3 has no relationship whatsoever with the European academic environment. Its origin comes from the European industry, more precisely from European manufacturers of embedded micro-controllers, for automotive and industrial applications. The BDAP team, i.e. Guido Bertoni, Joan Daemen, Gilles Van Assche & Michaël Peeters, are employees of NXP Semiconductor and STMicroelectronics. This background explains why SHA3 is optimized for a hardware implementation in ASICs, and not for a software implementation. I agree about the excellent strength of SHA2, which was developed by NSA, but it was not "NSA's response to SHA1", because SHA-1 had also been developed by NSA, but at a time when they had much less experience in designing one-way hash functions. The original SHA from 1993 was just a slightly improved MD4. It had some serious defects, which were discovered internally by NSA before any widespread use of SHA, so the original standard was replaced after a couple of years by the corrected SHA-1, which resisted many more years until becoming broken. After the standardization of AES, there was the obvious problem that there existed no standard one-way hash function with a strength comparable with AES, because SHA-1 was much weaker, so NSA solved this by designing SHA2, which offers a range of hash functions strong enough to be paired with the various variants of AES (originally also a variant to be paired with Triple-DES, which was deprecated later), and by that time they had learned how to design a good one-way hash function. | |||||||||||||||||
| |||||||||||||||||
| ▲ | adgjlsfhk1 an hour ago | parent | prev | next [-] | ||||||||||||||||
Dual EC drbg? | |||||||||||||||||
| ▲ | twotwoone an hour ago | parent | prev [-] | ||||||||||||||||
[dead] | |||||||||||||||||