Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Ciphertext
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Encrypted information}} {{About|encrypted information|an overview of cryptographic technology in general|Cryptography}} [[File:Zimmermann Telegram.jpeg|thumb|right|250px|The [[Zimmermann Telegram]] (as it was sent from Washington to Mexico) encrypted as ciphertext.]] [[File:Hollow Nickel Message.jpg|thumb|KGB ciphertext found in a [[Hollow Nickel Case|hollow nickel]] in Brooklyn in 1953]] In [[cryptography]], '''ciphertext''' or '''cyphertext''' is the result of [[encryption]] performed on [[plaintext]] using an algorithm, called a [[cipher]].<ref>{{cite book |author=Berti, Hansche, Hare |title=Official (ISC)² Guide to the [[CISSP]] Exam |publisher=Auerbach Publications |year=2003 |pages=[https://archive.org/details/officialiscguide0000hans/page/379 379] |isbn=0-8493-1707-X }}</ref> 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 with [[codetext]] because the latter is a result of a code, not a cipher. == Conceptual underpinnings == Let <math>m\!</math> be the plaintext message that Alice wants to secretly transmit to Bob and let <math>E_k\!</math> be the encryption cipher, where <math>_k\!</math> is a [[secret key|cryptographic key]]. Alice must first transform the plaintext into ciphertext, <math>c\!</math>, in order to securely send the message to Bob, as follows: : <math>c = E_k(m). \!</math><ref name="Fundamentals">{{cite book|isbn=0-7923-8675-2 |title=Fundamentals of Cryptology |publisher=Kluwer Academic Publishers |year=2000 |first=Henk C.A. |last=van Tilborg |page=3}}</ref> 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 using <math>{E_k}^{-1}\!</math> which is known as the decryption cipher, <math>D_k: \!</math> : <math>D_k(c) = D_k(E_k(m)) = m.\!</math><ref name="Fundamentals" /> 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 key <math>D_k,</math> and decryption proceeds as :<math>D_k(c)=m.</math> == Types of ciphers == {{Main|Cipher}} The [[history 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 modern [[algorithm]]s, which are generally executed by a machine. === Historical ciphers === Historical pen and paper ciphers used in the past are sometimes known as [[classical cipher]]s. They include: * [[Substitution cipher]]: the units of plaintext are replaced with ciphertext (e.g., [[Caesar cipher]] and [[one-time pad]]) ** [[Polyalphabetic substitution|Polyalphabetic substitution cipher]]: a substitution cipher using multiple substitution alphabets (e.g., [[Vigenère cipher]] and [[Enigma machine]]) ** [[Polygraphic substitution]] cipher: the unit of substitution is a sequence of two or more letters rather than just one (e.g., [[Playfair cipher]]) * [[Transposition cipher]]: the ciphertext is a [[permutation]] of the plaintext (e.g., [[Rail fence|rail fence cipher]]) 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 using [[Brute force attack|brute force]]. === Modern ciphers === 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: * [[Private-key cryptography]] ([[symmetric key algorithm]]): one shared key is used for encryption and decryption * [[Public-key cryptography]] ([[asymmetric key algorithm]]): two different keys are used for encryption and decryption In a symmetric key algorithm (e.g., [[Data Encryption Standard|DES]], [[Advanced Encryption Standard|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 be [[block cipher]]s or [[stream cipher]]s. 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 (algorithm)|RSA]]), there are two different keys: a ''public key'' and a ''private key.'' The ''public key'' is published, thereby allowing any sender to perform encryption. The ''private key'' is kept secret by the receiver, thereby allowing only the receiver to correctly perform decryption. == Cryptanalysis == [[Image:Zimmermann-telegramm-offen.jpg|thumb|250px|right|The [[Zimmermann Telegram]] decrypted into plaintext (and translated into English).]] {{Main|Cryptanalysis}} Cryptanalysis (also referred to as codebreaking or [[Password cracking|cracking 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 more [[attack model]]s 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 a [[cryptosystem]] and therefore is an important part of cryptanalysis. === Attack models === * [[Ciphertext-only attack|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.<ref>{{cite book |last=Schneier |first=Bruce |url=https://archive.org/details/secretsliesdigit00schn/page/90 |title=Secrets & Lies |date=28 August 2000 |publisher=Wiley Computer Publishing Inc |isbn=0-471-25311-1 |pages=[https://archive.org/details/secretsliesdigit00schn/page/90 90–91]}}</ref> * [[Known-plaintext attack|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 ** [[Adaptive chosen-ciphertext attack]] ** [[Indifferent chosen-ciphertext attack]] * [[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 == {{Main|List of ciphertexts}} [[Image:Shugborough inscription.jpg|thumb|upright 1.2|The Shugborough inscription, England]] * The [[Babington Plot]] ciphers * The [[Shugborough inscription]] * The [[Zimmermann Telegram]] * [[The Magic Words are Squeamish Ossifrage]] * The [[cryptogram]] in "[[The Gold-Bug]]" * [[Beale ciphers]] * [[Kryptos]] * [[Zodiac Killer]] ciphers == See also == * [[Books on cryptography]] * [[Cryptographic hash function]] * [[Frequency analysis]] * [[RED/BLACK concept]] * [[:Category:Undeciphered historical codes and ciphers]] ==References== {{Reflist|2}} == Further reading == * {{Wiktionary-inline}} * {{Commonscat-inline}} * Helen Fouché Gaines, “Cryptanalysis”, 1939, Dover. {{ISBN|0-486-20097-3}} * [[David Kahn (writer)|David Kahn]], ''The Codebreakers - The Story of Secret Writing'' ({{ISBN|0-684-83130-9}}) (1967) * [[Abraham Sinkov]], ''Elementary Cryptanalysis: A Mathematical Approach'', Mathematical Association of America, 1968. {{ISBN|0-88385-622-0}} {{Cryptography navbox}} [[Category:Cryptography]]
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Pages transcluded onto the current version of this page
(
help
)
:
Template:About
(
edit
)
Template:Cite book
(
edit
)
Template:Commonscat-inline
(
edit
)
Template:Cryptography navbox
(
edit
)
Template:ISBN
(
edit
)
Template:Main
(
edit
)
Template:Reflist
(
edit
)
Template:Short description
(
edit
)
Template:Wiktionary-inline
(
edit
)