Volume of data
To break a code one needs enough data to give clues to the key. This has always been true. The only difference between now and the Enigma machines is the amount of data needed.
Encryption will never be perfect and will be broken with enough time and effort. It just has to be good enough so the plain text is useless one obtained.