Does anyone have any good cryptography books for reading? (like history on the WW2 enigma, ...)
I see that there are two (or more) categories of encryption:
A) OTP (One-time pad), secret key is the same size as encrypted text.... so even if you brute force, you dont even know whether your decrypted message is correct
B) Encryption using shared/symmetric/public keys... you basically make brute-force very very hard (long keys, or amortized runtime for checking key is high so that you can't do it efficiently)
People attack B) via different methods. Quantum computers (if possible) that can "test" multiple keys at once, rely on attacks on the encryption algorithm (to reduce the key space, test fewer keys), attacks on the implementation (hardware "leaks" data when performing encryption, can use that data to reduce key size), brute force (hardware gets faster and cheaper in the future, test keys faster)