Key Space (cryptography)
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. i.e. we have key space of size 210 = 1024.
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. If the key was selected randomly from all possible keys, on average half the key space must be searched to find the solution. However, if an attacker has some knowledge of how the key was likely selected, the search time can be far less.
Read more about Key Space (cryptography): Examples
Famous quotes containing the words key and/or space:
“There are two kinds of timiditytimidity of mind, and timidity of the nerves; physical timidity, and moral timidity. Each is independent of the other. The body may be frightened and quake while the mind remains calm and bold, and vice versë. This is the key to many eccentricities of conduct. When both kinds meet in the same man he will be good for nothing all his life.”
—Honoré De Balzac (17991850)
“In the tale properwhere there is no space for development of character or for great profusion and variety of incidentmere construction is, of course, far more imperatively demanded than in the novel.”
—Edgar Allan Poe (18091849)