Lesson finished
Up next: Caesar Cipher, Playfair Cipher and Matrix Math for Cryptography
Unlock all 22 lessons of Cryptography Basics & ImplementationFull course ₹40,000 · paid
Origins of Cryptography and Classical Ciphers
A free lesson from Skill-Lync's Cryptography Basics & Implementation course, on Grow by Skill-Lync · Last updated 16 Nov 2026 · Session: “Week 1 Session 1”
What will you learn in this free Cryptography Basics & Implementation lesson?
Introduces cryptography and what it should guarantee for a message sender. Reviews its history and early devices such as the scytale and Enigma machine, Roman shift ciphers, and a simple substitution cipher that is weak because it has no secret key.
- What cryptography ensures and how it began
- Scytale and Enigma as early encryption devices
- Roman monoalphabetic substitution and shift ciphers
- Why keyless substitution ciphers are easy to break
What comes after lesson 1?
The next free lesson is lesson 2, “Caesar Cipher, Playfair Cipher and Matrix Math for Cryptography” (37 min). Later in Skill-Lync's Cryptography Basics & Implementation course (paid): lesson 4, Week 2 Session 1 Part 2; lesson 5, Week 2 Session 2 Part 1; lesson 6, Week 2 Session 2 Part 2. The full course has 22 lessons (11 h 10 min of video); see the course overview or its price and syllabus.
Lesson transcript
Machine transcript of the lesson audio (lightly cleaned). Technical terms may contain errors; the video is the reference.
Hi. Welcome to the basics of cryptography and the implementation. So in this week, we are about to see how the cryptography is being used in the first place and what are the mathematics in this. So on the context, we are about to see what is the cryptography is all about and how it is being used in the first place and what are the major usage of this cryptography. And in this slide, we are about to see what is the origin of cryptography and how it is being utilized on the earlier days. So what is this cryptography ensures exactly? So when I'm a normal user, when I'm trying to share information on the earlier days, so how confident am I to make sure that my message that what I'm trying to share is safe and secure?
And then we could see about what are the classical cryptography techniques that have been used on the earlier days and what are the various types of formats that we have been using and how confident on the earlier days when we have been trying to use these kind of techniques and how it has been done. And we are about to see what is the evolution of cryptography. So we are about to see what are the various devices or methods that we have been using to encrypt the messages. And at last, we are going to see what is the mathematics in this. So how the cryptography is being used in the recent days in terms of the computer by using in terms of the computer technology.
So at this end of the session, you will be able to understand what are the need and importance of the cryptography and how it is being used in the first place. So whenever we are trying to share any kind of information or a message to a third party or by any kind of a medium. So this kind of cryptography is being we is going to be implemented in the first place and how we can ensure that it is going to encrypt our messages. And then we are going to see the evolution of cryptography from the medieval edges till now and what are the techniques that we have been using and what are the types of encryption that we have been used on the earlier days.
And then by the end, you're going to have a better idea about the mathematics behind this kind of algorithm that we have been using in such kind of cryptographic techniques. What is cryptography is all about? So cryptography is all of converting a plain text message into a form, which is not understandable and readable by anyone. So that even include the people or a system or any kind of digital medium that where this message, this kind of specific message is about to be shared. So unless the intended people or a system which converts the non-readable message to a retrievable plain text.
So basically cryptography is a technique of securing the information and the communication through the use of codes so that only those person for whom the information is intended can understand it and process it. Thus preventing the unauthorized access to these kind of specific information. So let's try to have a quick look of what was the cryptographic name means exactly. So the prefix script means hidden and the suffix graphy means writing. So when you're trying to combine together, it is a hidden writing, which means that the message is what I'm trying to convey on a written or on a text.
It should be hidden in the first place. So in computer science, the cryptography refers to secure the information and communication techniques derived from mathematical concept and a set of rule-based calculations called as an algorithms. So this is basically used in terms to transform the message in a ways that are being hard to decipher it. So in cryptography, the techniques that which are used to protect information are obtained from mathematical concept and a set of rule-based calculations known as algorithm to convert the messages in a ways that make it hard to decode it.
So these algorithms are used for cryptographic key generation, digital signing, verification to protect the data privacy, and even the web browsing on the internet, and to protect the confidential transactions such as credit card and the debit card transaction. So this is the major technology that we have been using to make sure that in terms of messages or transactions or any kind of booking format that we have been trying to use. In this illustration, you could see how the cryptographic works on an overall basis. So we could see there is an encryption key and decryption key.
So the encryption key is all about how we can ensure to encrypt our message and the decryption is all about how we can ensure to convert the encrypted message into a readable format. So on the left hand side, you could see a plain text message which it can convey some statement as how is the weather today. So using the encryption key, if I am going to encrypt my message, on the right hand side, you could see there is a non-readable format of message where it contains the alphanumeric and the special characters as well.
So where I couldn't understand this kind of message in the first place. So if someone is trying to see this message by using any kind of phishing medium and they can't even understand that what I am going to convey to the third party. So this is how my message will be encrypted. And I feel secure also to make sure that my message is not being visible to anyone. And it is only available for for the person or to the machine that where it is made to view or getable in the first place.
So let's see that what are all the basic terminology that we have been using in the cryptography. In this we could see the point called as a plain text. So this is nothing but the original message to be sent after applying the encryption process. So it is the normal message that what I am trying to share and what does my message convey on a plain readable form. And the next point is about the encryption algorithm. So this is a process which takes plain text and encryption key to convert to a cipher text that is into a non-readable form.
So an encryption algorithm is a method used to transform the data into a cipher text. An algorithm will use the encryption key in order to alter the data in a predictable way. So that even though the encrypted data will appear random and it can be turned back into a plain text by using the decryption key. And then the next part is about the cipher text. So the cipher text is an unreadable and understandable version of a plain text after applying an encryption of an algorithm. So the cipher text is what the encryption algorithm is all about or ciphers that transform an original message into.
So the data is said to be encrypted when a person or a device lacking the cipher is unable to read it. And they are unable to do this kind of conversion of a plain text without the decryption key. So the algorithm transform the plain text into a cipher text and cipher text into a plain text. So these respective processes are called encryption and decryption on an overall basis. So let's see what is the decryption algorithm here. So this is a process which converts the cipher text back to the plain text using a decryption key.
So in the earlier image that we could have seen that we have been using some point decryption where we can convert our cipher text into a readable text. So to make sure that we are going to do that, we need a decryption algorithm in the system to make sure that we can convert that cipher text. And we could see what is an encryption key is all about. So the encryption key, it is a component known to the sender and used by the encryption algorithm to generate the cipher text from plain text.
And the decryption key, it is just an inverse of that. So it is a component that is known to the receiver and used by a decryption algorithm to convert the cipher text into plain text. So on a shorter term, an encryption key is a random string of bits created explicitly for scrambling in and scrambling the data. So encryption keys are designed with algorithms intended to ensure that every key is unpredictable and unique. The longer the key built in this manner, the harder it is to crack the encryption code.
An encryption key is used to encrypt, decrypt or carry out both functions based on sort of encryption software that we have been using. So in the recent days, we have been using multiple software to make sure that how secure our message must be and how hard that this message can be decrypted if it is being hacked by any kind of third parties, if our message is being exploited. So these are all the basic terminology that we have been using on the cryptography. And then the last point that we could see is about the cryptographer.
So the cryptographer is all about the person who performs the mathematical models to generate the ciphers. So the cryptographers help to ensure that a computer and network security by writing algorithms to safeguard the data through the encryption. So these professionals work on the cybersecurity sector specifically. As hackers and bad actors continue to become more skilled in using advanced techniques to break codes, cryptographers have almost, yeah, they have increased the complexity of their work. And then we could see what is. And then we could see what is the crypto analysis.
See, so crypto analysis is the art of deciphering that is opposite to the cipher where cryptographic scores and it's being performed by the crypto analysis here. So crypto analysis is the decryption and analysis of course cipher or the encryption text. So the crypto analysis uses the mathematical formula to search for algorithm vulnerabilities and break into cryptography or information security systems. So there are types of crypto analysis in our environment. So the one is about the known plain text analysis and chosen plain text analysis or cipher text only analysis or adaptive chosen plain text attack.
So what are the cryptographic concerns that we have? So the attackers can bypass cryptography, hack into computers that are responsible for data encryption and decryption and exploit the weak implementation such as the use of the default keys. However, cryptography makes it harder for attackers to access the messages and data protected by the encryption algorithm. So the growing concerns about the processing power of the quantum computing to break the current cryptography encryption standards leads to the NIST. To put out a call of papers among the mathematical and science community in 2016 for a new public key cryptography standards.
So unlike today's computer system quantum computing uses quantum bits. The disk cue bits we could say that can represent both zeros and ones and therefore perform two calculation at once. Well, a large scale quantum computer may not be built in the next decade. The existing infrastructure requires standardization of publicly known and understand the algorithm that offer and secure approach according to the NIST. So the deadline for submission was on November 2017 and the analysis of the proposal is expected to take in the next three or five years.
So what are the drawbacks of this cryptography? So apart from the four fundamental elements of the information security, there are other issues that affect the effectiveness in this use of information. So a strongly encrypted, authentic and the digitally signed information can be difficult to access even for a legitimate user at a crucial time of decision making. Then network or the computer system can be attacked and rendered non-functional by an intruder here. And then the next one is about the high availability. So it is about one of the fundamental aspects of information security cannot be ensured through the use of cryptography.
So the other methods are needed to guard against the threat such as denial of service or complete breakdown of information system. And the another fundamental need of information security of selective access control also cannot be realized through the use of cryptography. So it is all about the administrative controls and the procedures are required to be exercised for the same. So cryptography does not guard against the vulnerabilities and threats that emerge from the poor design of systems protocols and the procedures. So these need to be fixed through proper design and setting up a defensive infrastructure because this cryptography is all about how the message can be encrypted.
It is not going to differ from the cyber attacks on the recent day. So that kind of protection we can ensure using the cryptography. And obviously cryptography comes at a cost, the cost in terms of time and money. So the addition of cryptography techniques in the information processing leads to delay. The use of public key cryptography requires setting up and maintenance of the public key infrastructure requires the handsome financial budget, obviously. So the security of cryptography technique is based on the computational difficulty of mathematical problems.
So any breakthrough in solving such mathematical problems or increasing the computational power can render a cryptography technique very much vulnerable. So in next slide we are going to see from where this cryptography originated. So the oldest form of cryptography were from a form of a hieroglyphs dated about 4000 years ago. So on behalf of the kings, the sender transmit the messages to the receiver over the hieroglyphs where it would be understand by these two parties only. So during the medieval ages around 500 to 600 BC, scholars evolved using alphabets as a replacement of the original message.
So it was nothing but on the earlier days, if you could see on the Egyptian sculptures. So in that sculptures you could see only the images where it would be on a human format or on the form of a bird or an animal where it used to convey a message. So that is where the earlier days the kings have been using on the Egyptian period to be very precisely. So this kind of specific hieroglyphs is a character used in the system of pictorial writing. Particularly that form used on ancient Egyptian ornaments.
So this hieroglyph symbols may represent the objects that they pick but usually stand for a particular sounds or group of sounds. So this particular name hieroglyph meaning sick carving. So in the Greek translation of the Egyptian phrase the God's words which was used at the time of early Greek that contacts with the Egypt to distinguish the older hieroglyphs from the handwriting of the day that we have been using on the decent. So the hieroglyphs are written in the columns or in the horizontal lines. So these generally read from right to left and from top to bottom.
Sometimes the script is read from left to right the reader can determine the orientation by looking at the animal or the human figures they face towards the beginning of the text. For example if a figure faces the right and the text should be from reading from left to right. So let's say for an example in this slide if you could see the hieroglyphs right. So it is all about the pictorial representation as as I have mentioned earlier. It can be a single word or a combination of a words where you could see at the end.
It is having a naming convention with the image for the CH K and the SH. So it means it is not even intended to be a single message. It can be a combination of both of them. So this is where the hieroglyph is being used. And what are all the early cryptography and application that we have been using on earlier days. So people have been probably tried to conceal the information that is in the written form from time that writing has been proven. Example survive in the stone inscriptions or cuneiform tablets of papers showing that the ancient Egyptians, Hebrews, Babylonians and the engineers have all diverse the photographic system that both to deny the information to an unintended and to an answer significant when it has been revealed.
The first recorded use of cryptography for the correspondence was used by Spartans was early as 400 BC employed a cipher device called as a sector for a secret communication between the military commanders. So the sky tail consisted of a tampered badden around which was spirally wrapped a strip of parchment or a leather on which the message has been written. So when unwrapped the letters were scrambled in order to form the cipher. However, when the strip was wrapped around the another badden of identical proportions to the original, the plaintiffs reappeared.
Thus the Greeks were the inventors of the first transposition cipher. And then during the fourth century BC, the Indians wrote a work entitled on the defense of fortification on the chapter which it was devoted to the cryptography making it as the earliest of the cryptography where on the subject they have been using. So the another Greek where they have been using around 200 BC's. So device the means of encoding letters into a path of symbol by a device called as a polyps. So it's a kind of a checkboard which is being true, which it is having a kind of from messages or a set of things where we can make sure how cryptographic systems have been working.
So the similar examples of the primitive substitution or transposition or the transposition ciphers abound in the history or on the other civilization. So the Romans used the monoalphabetic substitution with a simple cyclic displacement of the alphabet. So the Julius Caesar employed a shift of three positions so that the plaintext A was encrypted at D where the Augustus Caesar used a shift for the one position to the alpha plus plaintext A and inside with the alphabet B. So in this slide I'll be explaining about this sectae.
So as I mentioned earlier, sectae is in a stick where it is a piece of wood around which a ribbon, leather or is it wrapped on a message written where the ribbon is under rolled on an encrypted message that appears. So and then we do have another image called as an enigma. So the enigma mission is a cipher device developed and used for the earlier on mid 20th century to protect commercial, diplomatic and military communication. It was employed extensively by Nazi Germany during the World War.
In all branches of the German military, the Enigma machine was considered so secure so that it was used to encipher the most top secret messages. The Enigma has an electromagnetical motor mechanism that scrambles the 26 letters of the alphabet. In typical use, one person enters the text on an Enigma keyboard and another person writes down which of the 26 slides above the keyboard illuminated as each key press. If plain text is entered, the illuminated letters are the ciphertext. Entering the ciphertext transform it back into readable plaintext.
So the rotor mechanism changes the electrical connections between the keys and the lights with each key press. The security of the system depends on the machine settings that were generally changed daily based on the secret keyless distributed in advance. Another other setting that were changed for each message, the receiving station would have to know and use the exact setting employed by the transmitting the station to successfully decrypt a message. So, what cryptography ensures exactly? So, in this we are about to see what is a confidentiality.
So, basically cryptography is close related to the disciplines of cryptology and crypto analysis. It includes a technique such as micro dots, merging words with the images and the other ways to hide the information in storage or transit. However, in today's computer centric world cryptography is most often associated with scrambling plain text that is ordinary text sometimes even referred to as a clear text into a ciphertext that is a process called as an encryption. Then back again which is known as an decryption. So, the individuals who practice this field are known as a cryptography.
So, in modern cryptography concern itself, we do have multiple stages to ensure how our messages are. So, the first one is about the confidentiality. So, it is about the information cannot be understood by anyone for whom it was unintended. So, let's say for an example if I am the user who is trying to share this kind of message to a third party, only they should be having the access to it. So, this ensures that a message sent to a receiver is not in the form of an unauthorized source or a sender.
So, if I am the one who is going to send that message, it must be having some kind of authentication to make sure that I am the user who sends it. So, on a real time example, you could use the two-factor authentication. So, if I am trying to log into my email in the first place and then if I have enabled the two-factor authentication, I will be entering my password. And then after entering my password, it will be asking for me to enter my ODP kind of and form it in the first place.
So, that is a kind of a two-factor authentication. And this message that whatever that I am receiving is from that particular vendor. Let's say for an example if I am trying to use Gmail. So, if I am trying to enter my password and then on the next step, the Gmail is going to send me a message stating that, hey, that you are trying to log into your account and this is your ODP and it will be available for a particular X minutes. So, whenever I am trying to enter that, within that particular time frame, it ensures that the authentication is successful.
And even the receiver, the whomsoever is going to see, is make sure that this kind of authentication is from that particular vendor. So, this is what is all about the confidentiality. And then the next is about the integrity. So, integrity is about the information that cannot be altered in storage or transit between the sender and the intended receiver without altering is being deducted. So, let's say that if I am trying to send a message to a third-party vendor and then if that message is not being tampered in the first place, I need to ensure that how it is being sent in the first place, how safe it is.
So, the example is all about the hashing. So, if I am trying to send a message, it will be hashed. So, I can ensure that the message that whatever that I have been sharing, if it is in form of hashing, I can really ensure that this message is that whatever that I have been sending to the user won't be changed in the first place. Because if I am trying to do the hashing in the first place, it will be in unreadable format. So, if a person or a user who is trying to enter any kind of letter or an alphabet on that particular hash, the entire message will be changed.
So, when a user is trying to decrypt that message, it will be still on the unreadable format. Because if the hashing is being done at the first place and then if any one character, it can be an alphabet or a number or any kind of special character, if an intruder is trying to include any kind of a message, the whole message will get decommissioned and it will be in the unreadable format. So, where the receiver can understand that, yeah, the message that whatever the sender has shared to me, it is not the correct one and she will be acknowledging me, saying that the message that whatever that I received is incorrect.
So, that is all about the integrity. And then the last part is about the availability. So, this ensures that the authorized person is not depleted of accessing the resources. If I am about to share this message to a particular user, they must have the authorization to see that kind of message. So, they need access to their resources. So, let's say that I do have a SharePoint or a drive or a kind of a storage device where I do have all those information with me. And if my particular receiver who needs to have access to all these kind of messages or the documents and whatever that I have, they must have the access to and all about is the availability.
So, whenever the user is trying to access these kind of messages, they need to have the access. So, the availability ensures that how sure and ensure that they can access this kind of message anyway. And then the last one is about the non-reputation. So, this ensures that the authorized person or a system has sent the intended message and it has to be acknowledged by that person or a system that cannot deny this. So, the non-reputation is the access that someone cannot deny the validation of something.
So, non-reputation is a legal concept that is widely used in the information security and refers to a service which provides the proof of the origin of data and the integrity of the data. So, in other words, a non-reputation makes it very difficult to successfully deny who or where a message came from as well as the authenticity and the integrity of the particular message. So, the digital signature can offer a non-reputation when it comes to online transaction where it is crucial to ensure that a party to a contractor or communication can't deny the authenticity or this signature on a document or sending a communication in the first place.
So, in this context, a non-reputation refers to the ability to ensure that a party to a contractor or a communication must accept the authenticity of their signature on a document or sending on a message. So, even in this image that you are trying to see, we could see an initiator under recipient. So, when the initiator is trying to send a sign of a message, we could see there is some key where it is to ensure that, hey, this is me and I am the initiator. I was the person who sent this message and this is my signature.
So, this is all about the non-reputation that we have been using. And in this slide, let's see what are the technography. So, this technography is a kind of a method where the message is hidden inside an image or a video and sent to the intended receiver, ensuring that the content delivered is not known to anyone except the receiver. So, you could see on the image here, there is a hidden message in terms of 144141 where it will be a combination of a bit. So, where the message can be on the getable form.
But only the receiver came to know that this image is having some hidden messages. So, technography is a technique of hiding a secret data with an ordinary non-secret file or a message in order to avoid the detection. The secret data is then extracted at its destination. So, the usage of technography can be combined with encryption as an extra step for hiding of protecting the data. The word technography is derived from the green works technos meaning hidden or covered and the green root graph means to write.
So, this technography can be used to conceal almost any type of digital content including text, image, video or audio content. So, the data to be hidden can be hidden inside almost any other type of digital content. The content to be concealed through technography called hidden text and it is often encrypted before being incorporated into the encode streaming, the covered text file or a data stream. If non-encrypted, the hidden text is commonly processed in some way in order to increase the difficulty of detecting the secret content.
So, let us see what are the advantages of this technography. So, the advantage of technography is that the message do not send consideration to themselves. Clearly, deductible encrypted message no matter how tough will stimulate suspicion and may in themselves be comprising in countries where encryption is illegitimate. In stegnography, the cryptography ensures the concept of message and stegnography can be set to secure both message and connecting parties. This approach future security, capacity and robustness, the three needed element of stegnography that creates beneficial in hiding. You can use a string of data through text file and creating a secret communication. So there are some important files carrying confidential data can be in the server in an encrypted form and no intruder can receive some beneficial information from the initial file during this transmit.
With the need of technographic operation government and law enforcement agencies can connect privately. The major objective of technography is to connect privately in a completely impredictable aspect and to prevent drawing uncertainty to the transmission of hidden information. It is not to maintain others from understanding the hidden data, but it is to maintain others from thinking that the data even exists in the first place. If a technography approach generates someone to suspect the carrier medium, thus their method has been unsuccessful. The advantage of technography is that it can be generally used to secretly send the messages without the case of transmissing transmission is being found.
By using encryption, it can recognize the sender and the receiver. Technography has a double component of protection such as first the file itself, its secret and second that the data in its encoder. So these are all the advantages of this technography. And let's see what are all the disadvantages it has. So there are large number of information huge file says. Therefore, someone can suspect about it. Because if the image that we are saying, if it's in a KB or in a kind of particular MB, let's say within 5 MB, it won't be suspicious.
So if I'm trying to comprise a large set of data within this technography image and that the image file is all about more than having 50 MB or 100 MB, but it doesn't seems to be in that way, then it will be more suspicious. So if this approach is going in wrong hands such as hackers, terrorists, criminals, then this can be very much critical. Technography is not with its disadvantages. However, this can be rectified and once it is performed, it can be strengthened the element of technography.
So the most data hiding approach take advantage of human perpetual deficiency, but they have deficiency on their own. However, this can be identically rectified. The major disadvantage of technography is that unlike cryptography, it needed a lot of overhead to hide associatively few bits of information because this technographic system is found. It is rendered useless. However, it faced no worse than the cryptography and the still the preferred medium. So let's see what are all the classical cryptographic techniques that we have been using on the earlier days.
So here we could see the monoalphabetic versus the polyalphabetic cipher. So the relationship between the plain text versus cipher is one of the one is is all about one to one mapping on the monoalphabetic cipher. And in polyalphabetic, it is the relationship between the plain text versus the cipher text is one to one or two one to one mini mapping. And then in monoalphabetic ciphers are not so strong enough. And then in polyalphabetic, the ciphers are much stronger. So let's say about what is in monoalphabetic in the first place.
So monoalphabetic cipher is any cipher in which the letters or the plain text are mapped to a cipher. The text letters based on a single alphabetic. The example of the monoalphabetic cipher would include the Caesar shift cipher where each letter is shifted because on a numerical key. And the alphabetic cipher where each letter is mapped into the letter symmetric to its about the center of an alphabetic. So what are the polyalphabetic ciphers? So the polyalphabetic cipher is in any cipher based on substitution using the multiple substitution alphabet.
So the vinegar cipher is probably the best known example of the polyalphabetic cipher. Though it is a simplified special case. So let's see what are all the major differences in this, excluding from the slide that I have mentioned. So the relationship between the characteristic in the monoalphabetic cipher is the plain text and the characters in the cipher text is one to one. And then the relationship between the character and the plain text and the characters in the cipher text is that is in the polyalphabetic cipher is one to many.
And each alphabetic character of the plain text is mapped to a unique alphabetic character on a cipher text. And in polyalphabetic, each alphabetic character of the plain text can be mapped to M alphabetical characters of a cipher text. And in monoalphabetic, a stream cipher in a monoalphabetic cipher is the value of the key that does not depend on the position of the plain text character in the text system. But whereas in polyalphabetic cipher, a stream cipher is a polyalphabetic cipher in which the value of the key does depend on the position of the plain text character in the plain text.
So in monoalphabetic, it includes the additive, multiplicative and affine and monoalphabetic substitution cipher. But whereas in the polyalphabetic, it includes the auto key, playfair, venture, vinegar, hair, on one time pad and enigma cipher. So the monoalphabetic ciphers are not that much strong compared to polyalphabetic. But when polyalphabetic ciphers are much stronger than when compared to monoalphabetic in the first place. So let's see what is an ALBAS cipher is all about. So the ALBAS cipher is really simple substitution cipher that is sometimes called as a mirror code.
It is believed to be first cipher ever used and it used predates Egyptian examples of encryption. So you use ALBAS, you simply reverse the alphabet. So A encoded to Z and B encoded to Y and so on. So in this slide, right, we could see it is one of the most monoalphabetic substitution cipher. It just adds zero security to the message to be sent. The first letter is replaced with the last letter of the same English alphabet. So subsequently for further letters, the corresponding letters from the reverse direction is considered.
So this particularly means that the message is reversed and it is very much easy for the people to decrypt this message and to read it. So what are the encryption type that we are using in this ALBAS? So as with any of the monoalphabetic substitution cipher, encryption using the ALBAS cipher is very much simple. Once the ciphertext alphabet has been generated, we simply replace each occurrence of each plaintext letter with the respective ciphertext letter given by the table. So if we take the plaintext ALBAS, we could see that A enciphers to Z and T enciphers to G and so on.
So continuing in this way, we see that the final ciphertext is ZGYZHS. So this is how it will be if we are using the ALBAS. So how we can decrypt this? So due to the symmetric nature of the cipher, the decryption process is exactly the same as the encryption process. Thus, for the recipient to decrypt the ciphertext, the same ciphertext alphabet must be generated as was used to encrypt the message in the first place. So in this case, the ciphertext alphabet relies only on the alphabetic use and hence the table above is used to decipher the message.
So the given ciphertext, let's say for an example is XRKESVI. Okay. So this is the ciphertext. And then assuming that the alphabet used for the standard Roman alphabet so 26 letters and we can retrieve the plain text using the cipher. So let's see some more insights on this kind of a ALBAS. So the ALBAS cipher is a very weak substitution cipher since there is no secret key behind generating as I have mentioned earlier. Thus given a piece of ciphertext known to have been encrypted using the ALBAS cipher.
Anyone who intercept the message can easily decipher it and the receiver what was meant to be concealed. Despite this, it provides a very quick and easy way to conceal the messages from an onlooker and can be used successfully to encipher the message of not great importance. So the one security mission that does exist on this ALBAS cipher is to use a different plain text alphabet. For example, using a plain text alphabet with the 10 digits attached to at the end. Let's say for example, we do have the alphabet starting from A to Z and then we could even add the numerical variable 0 to 8 or 1 which the most common punctuation marks in it.
Both these alphabets add a bit more security to the cipher. But as we shall see, these are the methods that can be used for the every cipher. So in this message or in this image that you could see that what is this plain text is all about. So this is a cipher here where you could see the alternative messages. So if you could see on this image, the alphabet A have an ALBAS Z and B has an ALBAS of Y and C has an ALBAS of X and it continues till Z.
So let's say for an example, if I am about to send a message that is if this is a cipher, right? So let's take for the alphabet T. For alphabet T, the ALBAS is G. And for the message this, the text H contains the ALBAS as yes. And then the text message I, that is the plain text I, contains the ALBAS as R. And then the plain text S is having a ALBAS H. So the message, this is a cipher. We'll be having this cipher text as G, S, R, H, R, H, Z, X, R, K, S, V, I.
So this is how the cipher text we use. So see, it doubles up with ALBAS.