We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
911212028, 11:07 What is Cipher? - GesksforGeoks
l
Search...
Interview Questions Quizzes Gate OSIModel TCP-IP Network Security COA TOC Comp
What is Cipher?
Last Updated : 23 Jul, 2025
Ciphers are the most vital components of cryptography, as it is through
them that the protection of information is made possible in the ever-
growing digital environment. In the present generation, given the
technological advancement especially in the field of communication, the
aspect of security is critical. Cipher is used in securing financial
transactions, protecting information, and maintaining the confidentiality
of communication among many others. This article focuses on the
concept of ciphers, their importance, categorization, and usage in
cryptography.
What is Cipher?
A cipher is a technique that is used in transforming the readable data
(plaintext) into coded data (ciphertext) and the other way round. The first
step in converting regular text into an unrecognizable form is encryption
and the process of converting the encoded text back into regular text is
decryption. Ciphers are able to perform these transformation using keys:
specific pieces of information. It guarantees that only the right person can
get to the primary data.
ntps hw geekstorgecks orgcomputer-networks!whats-ciphed
10911212028, 11:07 What is Cipher? - GesksforGeoks
Encryption Decryption
key key
Cipher
Receiver
Sender Encryption Decryption
Server Server
Interceptor
Cipher working
Primary Terminologies
Cipher: A method or a set of rules for performing encryption or
decryption of information — a step by step process.
Encryption: The transformation of plaintext to the ciphertext through
the use of a cipher.
Decryption: The act of moving from the encrypted text to the original
text.
Plaintext: The source or plain data or text that has to be converted
into cipher text before sending it over a channel.
Ciphertext: The coded message that cannot be comprehended in its
original form without the usage of decryption.
Key: An item of data that a cipher employs to engage in the
conversion of plaintext into ciphertext and vice versa.
How Ciphers Work?
Ciphers work by rearranging readable information (plaintext) in another
form of information called ciphertext by use of a process that is known as
encryption and this involves use of a certain key. Shifting of the plaintext
is controlled by this key which operates like a password. Decryption is
the process of recuperating the initial text from the cipher-text, which can
[Link] orgcomputer-networks!whats-ciphed 2110sovraeas, 11:07 What is Cipher? -GeokstorGeeks
be done only having the right key. This entitles the information to be
secured and released to the right personnel only. Various ciphers like
substitution ciphers, transposition ciphers and the modern algorithms
employed in the contemporary AES and RSA modes, employ these
methods to perform the above transformation to improve security
depending on the complexity of the key and the algorithm in use.
What are Ciphers Used for?
Ciphers have a wide range of applications across various fields to ensure
the security and integrity of information:
Secure Communications: Encryption of emails, instant messages, and
VoIP convert messages to codes that cannot be understandable to an
unauthorized person and thus allow only the target receiver to be able
to read the message.
Protect Financial Transactions: Secure Internet connection, which is
applied in online banking and e-commerce, uses encryption to
safeguard consumers’ private data and, in particular, their credit card
numbers and other personal data, against scammers.
Safeguard Data Storage: Encryption is applied for safeguard of data
which is stored in devices, servers and even in cloud. This guarantees
that even in cases where the disks on which data is stored are lost or
mobile phone is stolen, the content of it cannot be accessed without
the Decryption Key.
Ensure Authentication: The authentication protocols entail the use of
encryption to be able to identify the user and or devices. It also assist
in avoiding fraudulent communications and transaction, thereby
securing the communications from unauthorized access.
Enable Secure Digital Signatures: Digital signals are implemented
using encryption to reduce the reliability of documents and messages
ntps hw geekstorgecks orgcomputer-networks!whats-ciphed911212025, 1:07 What is Cipher? - GesksforGeoks
that are transmitted electronically. This makes sure that it has not
been interfered with and that it is original from the source that has the
information.
Types of Ciphers
Ciphers can be broadly classified into three categories: Among the types
of ciphers there are substitution ciphers, transposition ciphers, and
modern ciphers
1. Substitution Ciphers
Substitution ciphers involve replacing each member of the plaintext with
another member which can be of the same set. One of the early
examples of the substitution technique is the Caesar cipher that got its
name from Julius Caesar, who allegedly employed it in his secret letters.
Caesar Cipher
The Caesar cipher is a substitution cipher where each letter in the
plaintext is replaced by another letter shifted a fixed number of positions
down the alphabet.
Simple Substitution Cipher
A simple substitution cipher is a technique in which each letter in the
plain text is replaced with another letter. The key is the alphabet but in a
random order.
2. Transposition Ciphers
Transposition ciphers are those forms of ciphers that work on the
principle of shifting the positions of the characters of the plaintext to
create the ciphertext. While in substitution ciphers the actual letters are
replaced, in transposition ciphers the letters’ positions are changed
instead.
ntps hw geekstorgecks orgcomputer-networks!whats-ciphed911212028, 11:07 What is Cipher? - GesksforGeoks
Rail Fence Cipher
In the Rail Fence Cipher, the plaintext is arranged in a manner of a zigzag
pattern on the number of ‘rails’ and then read row-wise.
Columnar Transposition Cipher
In Cotumnar Transposition Cipher, the plaintext is written into rows under
a certain key. The columns are then arranged in order of the key names
by using the sort function.
3. Modern Ciphers
Modern ciphers are far more sophisticated and are intended to offer
better security as compared to the traditional ciphers. These are of two
types, the symmetric key ciphers and the asymmetric or public key
ciphers.
Symmetric-Key Ciphers
In symmetric key encryption, both the sender and the receiver use the
same key for encryption and decryption respectively. The most famous
example of a symmetric-key cipher is the Advanced Encryption Standard
(AES).
AES operates on a 128-bit data block and employees keys of 128, 192,
or 256 bits. It is used in many security protocols widely.
Asymmetric-Key Ciphers
which is private, and the other is public. The first one is for the encryption
and the second one is for decryption also known as the private key.
RSA Algorithm
The acronym RSA is an abbreviation of the names of the inventors of the
algorithm Rivest, Shamir and Adleman. It is based on the mathematical
ntps hw geekstorgecks orgcomputer-networks!whats-ciphed911212028, 11:07 What is Cipher? - GesksforGeoks
complexity of factorizing large prime numbers
Practical Applications
Ciphers are used in various applications to ensure secure communication
and data protection:
Secure Communications: Ciphers encrypts emails, instant messages,
and VoIP in order to secure the information from being accessed by
other people.
Financial Transactions: Online banking and electronic commerce
payments or transactions require encryption in protecting the details
of the financial information
Data Storage: All information that is saved in the devices or in the
cloud is protected by encryption to ensure that it is not accessible to
the unauthorized persons.
Authentication: Authentication protocols use encryption to ensure
that the communication is legitimate, meaning users and devices.
Digital Signatures: It is through the use of encryption in digital
signatures that documents are made secure to be used in the right
way.
Conclusion
Ciphers are the most vital components of cryptography. From the simple
Caesar cipher to the complex and advanced algorithms such as the AES
and RSA ciphers are still being developed up to the present to address
the increasing needs for protecting data. It is necessary to comprehend
the principles of ciphers and their use in the field of IT and security for
everyone.
Through understanding the concept of encryption and decryption,
therefore, one is in a better position to safeguard their privacy and their
[Link] orgcomputer-networks!whats-ciphed e110tori2025, 1:07 hats Cipher -GoekstrGeeks
business, that is, ensuring that the information passed through digital
channels is both private and secure.
K_ kolisus.... + Follow 0
Article Tags : Computer Networks cryptography
ntps hw geekstorgecks orgcomputer-networks!whats-ciphed
m0911212028, 11:07 What is Cipher? - GesksforGeoks
Fresher Jobs Experienced Jobs
co Web Designer Intern
" EnsueSoft Private Limited
05-1 Years Onsite Mohali.
Apply by Fr Dec 19 2005
UI/UX Developer
Efficient INDIA
Upto 1 Years «Onsite- Dwarka,
Apply by Fri Dec 192025
Trainee Digital Marketin...
izmo td
Upto 2 Years Onsite - Bengaluru,
Apply by Fi Dec 192025
lamol
[Link] orgcomputer-networks!whats-ciphed ano911212028, 11:07 What is Cipher? - GesksforGecks
View All >
GeeksforGeeks
rors ato ok
Corporate & Communications Address:
4-143, 7th Floor, Sovereign Corporate
Tower, Sector- 136, Noida, Uttar Pradesh
(201305)
Registered Address:
K 061, Tower k, Gulshan Vivante
Apartment, Sector 137, Noida, Gautam
Buddh Nagar, Uttar Pradesh,
Company
[Link] orgcomputer-networks!whats-ciphed en0911212025, 1:07
About Us
Legal
Privacy Policy
Careers
Contact Us
Corporate Solution
Campus Training Program
Tutorials
Programming Languages
DSA
Web Technology
Al, ML& Data Science
Devops
Core Subjects
Gate
School Subjects
Software and Tools,
Offline Centers
Noida
Bengaluru
Pune
Hyderabad
Patna
What is Cipher? - GesksforGeoks
Porp
Job:
Thon
Connect
Blogs
Nation Skill Up
Courses
ML and Data Science
DSA and Placements
Web Development
Data Science
Programming Languages
DevOps & Cloud
Gare
Trending Technologies
Preparation Corner
Interview Conner
Aptitude
Puzzles
6f6 160
System Design
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
ntps hw geekstorgecks orgcomputer-networks!whats-ciphed
s0110