Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Ciphertext

From Wikipedia, the free encyclopedia
Encrypted information
This article is about encrypted information. For an overview of cryptographic technology in general, seeCryptography.
TheZimmermann Telegram (as it was sent from Washington to Mexico in 1917) encrypted as ciphertext.
KGB ciphertext found in ahollow nickel in Brooklyn in 1953

Incryptography,ciphertext orcyphertext is the result ofencryption performed onplaintext using an algorithm, called acipher.[1] Ciphertext is also known as encrypted or encoded information because it contains a form of the original plaintext that is unreadable by a human or computer without the proper cipher to decrypt it. This process prevents the loss of sensitive information via hacking.Decryption, the inverse of encryption, is the process of turning ciphertext into readable plaintext. Ciphertext is not to be confused withcodetext, because the latter is a result of a code, not a cipher.

Conceptual underpinnings

[edit]

Letm{\displaystyle m\!} be the plaintext message that Alice wants to secretly transmit to Bob and letEk{\displaystyle E_{k}\!} be the encryption cipher, wherek{\displaystyle _{k}\!} is acryptographic key. Alice must first transform the plaintext into ciphertext,c{\displaystyle c\!}, in order to securely send the message to Bob, as follows:

c=Ek(m).{\displaystyle c=E_{k}(m).\!}[2]

In a symmetric-key system, Bob knows Alice's encryption key. Once the message is encrypted, Alice can safely transmit it to Bob (assuming no one else knows the key). In order to read Alice's message, Bob must decrypt the ciphertext usingEk1{\displaystyle {E_{k}}^{-1}\!} which is known as the decryption cipher,Dk:{\displaystyle D_{k}:\!}

Dk(c)=Dk(Ek(m))=m.{\displaystyle D_{k}(c)=D_{k}(E_{k}(m))=m.\!}[2]

Alternatively, in a non-symmetric key system, everyone, not just Alice and Bob, knows the encryption key; but the decryption key cannot be inferred from the encryption key. Only Bob knows the decryption keyDk,{\displaystyle D_{k},} and decryption proceeds as

Dk(c)=m.{\displaystyle D_{k}(c)=m.}

Types of ciphers

[edit]
Main article:Cipher

Thehistory of cryptography began thousands of years ago. Cryptography uses a variety of different types of encryption. Earlier algorithms were performed by hand and are substantially different from modernalgorithms, which are generally executed by a machine.

Historical ciphers

[edit]

Historical pen and paper ciphers used in the past are sometimes known asclassical ciphers. They include:

Historical ciphers are not generally used as a standalone encryption technique because they are quite easy to crack. Many of the classical ciphers, with the exception of the one-time pad, can be cracked usingbrute force.

Modern ciphers

[edit]

Modern ciphers are more secure than classical ciphers and are designed to withstand a wide range of attacks. An attacker should not be able to find the key used in a modern cipher, even if they know any specifics about the plaintext and its corresponding ciphertext. Modern encryption methods can be divided into the following categories:

In a symmetric key algorithm (e.g.,DES,AES), the sender and receiver have a shared key established in advance: the sender uses the shared key to perform encryption; the receiver uses the shared key to perform decryption. Symmetric key algorithms can either beblock ciphers orstream ciphers. Block ciphers operate on fixed-length groups of bits, called blocks, with an unvarying transformation. Stream ciphers encrypt plaintext digits one at a time on a continuous stream of data, with the transformation of successive digits varying during the encryption process.

In an asymmetric key algorithm (e.g.,RSA), there are two different keys: apublic key and aprivate key. Thepublic key is published, thereby allowing any sender to perform encryption. Theprivate key is kept secret by the receiver, thereby allowing only the receiver to correctly perform decryption.

Cryptanalysis

[edit]
TheZimmermann Telegram decrypted into plaintext (and translated into English).
Main article:Cryptanalysis

Cryptanalysis (also referred to as codebreaking orcracking the code) is the study of applying various methodologies to obtain the meaning of encrypted information, without having access to the cipher required to correctly decrypt the information. This typically involves gaining an understanding of the system design and determining the cipher.

Cryptanalysts can follow one or moreattack models to crack a cipher, depending upon what information is available and the type of cipher being analyzed. Ciphertext is generally the most easily obtained part of acryptosystem and therefore is an important part of cryptanalysis.

Attack models

[edit]
  • Ciphertext-only: the cryptanalyst has access only to a collection of ciphertexts or code texts. This is the weakest attack model because the cryptanalyst has limited information. Modern ciphers rarely fail under this attack.[3]
  • Known-plaintext: the attacker has a set of ciphertexts to which they know the corresponding plaintext
  • Chosen-plaintext attack: the attacker can obtain the ciphertexts corresponding to an arbitrary set of plaintexts of their own choosing
    • Batch chosen-plaintext attack: where the cryptanalyst chooses all plaintexts before any of them are encrypted. This is often the meaning of an unqualified use of "chosen-plaintext attack".
    • Adaptive chosen-plaintext attack: where the cryptanalyst makes a series of interactive queries, choosing subsequent plaintexts based on the information from the previous encryptions.
  • Chosen-ciphertext attack: the attacker can obtain the plaintexts corresponding to an arbitrary set of ciphertexts of their own choosing
  • Related-key attack: similar to a chosen-plaintext attack, except the attacker can obtain ciphertexts encrypted under two different keys. The keys are unknown, but the relationship between them is known (e.g., two keys that differ in the one bit).

Famous ciphertexts

[edit]
Main article:List of ciphertexts
The Shugborough inscription, England

See also

[edit]

References

[edit]
  1. ^Berti, Hansche, Hare (2003).Official (ISC)2 Guide to theCISSP Exam. Auerbach Publications. pp. 379.ISBN 0-8493-1707-X.{{cite book}}: CS1 maint: multiple names: authors list (link)
  2. ^abvan Tilborg, Henk C.A. (2000).Fundamentals of Cryptology. Kluwer Academic Publishers. p. 3.ISBN 0-7923-8675-2.
  3. ^Schneier, Bruce (28 August 2000).Secrets & Lies. Wiley Computer Publishing Inc. pp. 90–91.ISBN 0-471-25311-1.

Further reading

[edit]
General
Mathematics
Retrieved from "https://en.wikipedia.org/w/index.php?title=Ciphertext&oldid=1318582248"
Category:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp