Share on Facebook Share on Twitter Email
Answers.com

Key space

 

The total number of possible values of keys in a cryptographic algorithm or other security measure such as a password. For example, a 20-bit key would have a key space of 1,048,576. See binary values, key length and key fingerprint.

Download Computer Desktop Encyclopedia to your iPhone/iTouch

Search unanswered questions...
Enter a question here...
Search: All sources Community Q&A Reference topics
Wikipedia: Key space
Top

In cryptography, an algorithm's key space refers to the set of all possible keys that can be used to initialize it. For example, if an algorithm works using a key that is a string of 10 bits, then its key space is the set of all binary strings of length 10.

To avoid adversaries from guessing the key using a brute-force attack, the key space is usually designed to be extremely large. Another desirable attribute is that the key space be flat, having no or very few weak keys.

Examples

The block cipher Rijndael/AES uses a key of up to 256 bits, resulting in a key space containing over 1.1579 × 1077 keys. This makes it computationally infeasible to check each possible key by brute force.

In the DES block cipher, a 56-bit key is used, resulting in a relatively small key space of size 256.

The ROT13 cipher is only intended to prevent people from accidentally reading messages (e.g. movie plot details). As there is no key, the key space is therefore empty.


 
 

 

Copyrights:

Computer Desktop Encyclopedia. THIS DEFINITION IS FOR PERSONAL USE ONLY.
All other reproduction is strictly prohibited without permission from the publisher.
© 1981-2010 The Computer Language Company Inc.  All rights reserved.  Read more
Wikipedia. This article is licensed under the Creative Commons Attribution/Share-Alike License. It uses material from the Wikipedia article "Key space" Read more

 

Mentioned in