For symmetric encryption, a key size of 128 bits is considered secure against brute force by traditional computers. 192 or 256 bits is considered secure against quantum computers. Many old ciphers, such as DES, used short keys which made them breakable by brute force.