The exhaustive search and table look-up attacks are generic – they do
not depend on the specific design of the cipher: their complexity is merely
a function of key length. This raises the natural question: is every cipher
breakable, given enough resources? Or can encryption be secure
unconditionally – even against attacker with unbounded resources.
The One Time Pad (OTP) – the unconditionally secure cipher, was
recognized early on, but only established rigorously in 1949 by Claude
Shannon, who had proved that every unconditionally-secure cipher must
have had keys as long as the plaintext. The cryptographic literature has
many beautiful results on unconditional security. However, it is rarely
practical to use such long keys, and in practice, adversaries – like everyone
else, have limited computational abilities.
In contrast to the ancient ciphers the One Time Pad is a stream cipher:
i.e., it is stateful: the decryption of a plaintext bit depends on its location
within the plaintext string (or stream). Stream ciphers are often used in
applied cryptography: rarely, OTP or another unconditionally-secure
cipher, but much more commonly, with a bounded-length key, providing
computational security.
One simple and common way to implement such a bounded-key-
length stream cipher, is to use the key as the input to a pseudo-random
generator (PRG). The pseudo-random generator cipher is very similar to
the OTP; the only difference is that instead of using a truly random
sequence of bits to XOR the plaintext bits, we use the output of a pseudo-
random generator. The goal of a PRG is to ensure that its output bits are
pseudo-random.
One practical drawback of stream ciphers is the fact that they require
state, to remember how many bits (or bytes) were already output. What
happens if state is lost? Pseudo-random functions (PRF) allows a
cryptosystem which uses stream-cipher for each message or as long as
state is kept, but can re-initialize the stream cipher when state is lost.
Pseudo-random functions are an efficient substitute to random functions,
which ensures similar properties, while requiring the generation and
sharing of only short keys. The main limitation is that PRFs are secure
only against computationally bounded adversaries. PRFs have many
applications in cryptography including encryption, authentication, key
management and more. One important application is derivation of multiple
separate keys from a single shared secret key k.
The first aspect of a security definition, is a precise attacker model,
defining the maximal expected capabilities of the attacker. Besides the
computational limitations, the unconditional security model, where
attackers have unbounded computational resources, attacker capabilities
include also their possible interactions with the attacked scheme and the
environment; in the case of encryption schemes we refer to these as types
of cryptoanalysis attack. You know some of these, mainly cipher-text only
(CTO) and known-plaintext attack (KPA). Two other attack types are the
chosen plaintext attack (CPA) and the chosen ciphertext attack (CCA). In
CPA the adversary can chose plaintext and receive the corresponding
ciphertext (encryption of that plaintext). In CCA the adversary can chose
ciphertext and receive the corresponding plaintext (its decryption), or error
message if the ciphertext does not correspond to well-encrypted plaintext.
These four basic types of cryptoanalysis are summarized in the
following table 1 Найдите в тексте английские эквиваленты
следующих терминов:
вычислительные пределы возможностей, поиск по справочной
таблице, безусловная безопасность, неограниченные ресурсы,
потоковый шифр, строка открытого текста, шифр с контролем
состояния, ограниченные вычислительные возможности, достаточные
ресурсы, статическая длина ключа.