Shiva Logo

Key Space and Brute Force Attacks

Before reading this section, read Symmetric Cryptographic Systems and Asymmetric Cryptographic Systems.

Key Space

In the simple cryptographic systems, up to 26 different possible keys can be chosen. The keys available range from 1 to 26 since there are 26 letters in the alphabet. If 27 is used as your key, it would produce the same cipher text as if 1 was chosen for your key. Therefore, your key space contains exactly 26 keys.

The longer the key length, the more possible combinations a potential code-breaker would have to test. The table below shows the number of possibilities for common key length (Source: FreeMarket.Net: Policy Spotlight, October-November 1997).

Key Length Possible Keys

40 bits

1,099,511,627,776

56 bits

72,057,594,037,927,900

90 bits

1,237,940,039,285,380,000,000,000,000

128 bits

340,282,366,920,938,000,000,000,000,000,000,000,000

Brute Force Attacks

A brute force attack captures some cipher text and then tries all 26 different possible keys. Given enough cipher text, a brute force attack could be quite effective. Obviously, if you can increase the number of different keys available, brute force attacks become correspondingly more difficult or time consuming. The trick is to find an algorithm that allows for an extremely large number of keys. The higher the key space, the more difficult the encryption is to break.

Related Information

Cryptographic Systems and Encryption Terminology

Virtual Private Networking (VPN)

[ Top of Page... ]

[ Back to Shiva Configurator Directory ]