What is Cryptography? | Cryptographic Algorithms | Types of Cryptography |Edureka
2021.03.17 13:45

Subscribe Training in Top Technologies DevOps Certification Training AWS Architect Certification Training Big Data Hadoop Certification Training Tableau Training & Certification Python Certification Training for Data Science Selenium Certification Training PMP® Certification Exam Training Robotic Process Automation Training using UiPath Apache Spark and Scala Certification Training All Courses Career Related Programs Data Scienctist Masters Program Devops Engineer Masters Program Cloud Architect Masters Program BIg Data Architect Masters Program Machine Learning Engineer Masters Program Full Stack Web Developer Masters Program Business Intelligence Masters Program Data Analyst Masters Program Test Automation Engineer Masters Program All Programs Webinars NEW Write for Us Explore Online Courses Subscribe Become a Certified Professional Back Home Categories Online Courses Webinars NEW Community Write for Us Categories Artificial Intelligence AI vs Machine Learning vs Deep Learning Machine Learning Algorithms Artificial Intelligence Tutorial What is Deep Learning Deep Learning Tutorial Install TensorFlow Deep Learning with Python Backpropagation TensorFlow Tutorial Convolutional Neural Network Tutorial VIEW ALL BI and Visualization What is Tableau Tableau Tutorial Tableau Interview Questions What is Informatica Informatica Interview Questions Power BI Tutorial Power BI Interview Questions OLTP vs OLAP QlikView Tutorial Advanced Excel Formulas Tutorial VIEW ALL Big Data What is Hadoop Hadoop Architecture Hadoop Tutorial Hadoop Interview Questions Hadoop Ecosystem Data Science vs Big Data vs Data Analytics What is Big Data MapReduce Tutorial Pig Tutorial Spark Tutorial Spark Interview Questions Big Data Tutorial Hive Tutorial VIEW ALL Blockchain Blockchain Tutorial What is Blockchain Hyperledger Fabric What Is Ethereum Ethereum Tutorial Blockchain Applications Solidity Tutorial Blockchain Programming How Blockchain Works VIEW ALL Cloud Computing What is AWS AWS Tutorial AWS Certification Azure Interview Questions Azure Tutorial What Is Cloud Computing What Is Salesforce IoT Tutorial Salesforce Tutorial Salesforce Interview Questions VIEW ALL Cyber Security Cloud Security What is Cryptography Nmap Tutorial SQL Injection Attacks How To Install Kali Linux How to become an Ethical Hacker? Footprinting in Ethical Hacking Network Scanning for Ethical Hacking ARP Spoofing Application Security VIEW ALL Data Science Python Pandas Tutorial What is Machine Learning Machine Learning Tutorial Machine Learning Projects Machine Learning Interview Questions What Is Data Science SAS Tutorial R Tutorial Data Science Projects How to become a data scientist Data Science Interview Questions Data Scientist Salary VIEW ALL Data Warehousing and ETL What is Data Warehouse Dimension Table in Data Warehousing Data Warehousing Interview Questions Data warehouse architecture Talend Tutorial Talend ETL Tool Talend Interview Questions Fact Table and its Types Informatica Transformations Informatica Tutorial VIEW ALL Databases What is MySQL MySQL Data Types SQL Joins SQL Data Types What is MongoDB MongoDB Interview Questions MySQL Tutorial SQL Interview Questions SQL Commands MySQL Interview Questions VIEW ALL DevOps What is DevOps DevOps vs Agile DevOps Tools DevOps Tutorial How To Become A DevOps Engineer DevOps Interview Questions What Is Docker Docker Tutorial Docker Interview Questions What Is Chef What Is Kubernetes Kubernetes Tutorial VIEW ALL Front End Web Development What is JavaScript – All You Need To Know About JavaScript JavaScript Tutorial JavaScript Interview Questions JavaScript Frameworks Angular Tutorial Angular Interview Questions What is REST API? React Tutorial React vs Angular jQuery Tutorial Node Tutorial React Interview Questions VIEW ALL Mobile Development Android Tutorial Android Interview Questions Android Architecture Android SQLite Database Programming & Frameworks Android Adapter Tutorial Cursor in Android Swift Tutorial iOS Interview Questions VIEW ALL Operating Systems Linux Tutorial Unix vs Linux How to Install Ubuntu Shell Scripting Interviews Install JDK on Ubuntu Linux Commands Linux Administrator Responsibilities Linux Career Why Learn Shell Scripting Linux Interview Questions VIEW ALL Programming & Frameworks C Programming Tutorial Java Tutorial Inheritance in Java Top Java Projects you need to know in 2021 Java Interview Questions What is the use of Destructor in Java? Polymorphism in Java Multithreading in Java All you Need to Know About Implements In Java Spring Interview Questions PHP Tutorial PHP Interview Questions Python Tutorial Python Interview Questions VIEW ALL Project Management and Methodologies PMP Exam Project Management Life Cycle Project Manager Interview Questions Supply Chain Management Project Manager Salary PMP Exam Questions and Answers Earned Value Analysis in Project Management Project Management Office Setup VIEW ALL Robotic Process Automation What Is RPA Learn RPA RPA Tools Selenium vs RPA RPA Developer Salary Uipath Orchestrator RPA Interview Questions UiPath RPA Architecture RPA Projects RPA Lifeycycle VIEW ALL Software Testing What is Software Testing Software Testing Interview Questions Software Testing Life Cycle Types of Software Testing Selenium Interview Questions Selenium Tutorial JMeter Tutorial Regression Testing Unit Testing Automation Testing Tutorial Functional Testing Smoke Testing API Testing Integration Testing Penetration Testing VIEW ALL Home Blog Cyber Security What Is Cryptography? ... Cybersecurity Certification Course (37 Blogs) Become a Certified Professional AWS Global Infrastructure
Introduction To Cybersecurity
What is Cybersecurity? - A Beginner's Guide to Cybersecurity World Cybersecurity Fundamentals – Introduction to Cybersecurity Cybersecurity Firewall: How Application Security Works? Cybersecurity Threats and State of Our Digital Privacy Hacking Vs Ethical Hacking: What Sets Them Apart?Cybersecurity Concepts
What is Cryptography? – An Introduction to Cryptographic Algorithms Steganography Tutorial – A Complete Guide For Beginners Application Security: All You Need To Know What is Computer Security? Introduction to Computer Security Penetration Testing – Methodologies and Tools What is Network Security: An introduction to Network SecurityEthical Hacking Basics
What is Ethical Hacking? An Introduction to Ethical Hacking Ethical Hacking Tutorial - A beginner's Guide Footprinting- The Understructure of Ethical Hacking A Quick Guide To Network Scanning for Ethical HackingTool Guides
Cybersecurity Tools You Must Know – Tools for Cyber Threats Top 10 Ethical Hacking Tools in 2021 A Beginner's Guide To Cybersecurity Framework A Complete Guide to Nmap – Nmap Tutorial Proxychains, Anonsurf and MacChanger- Enhance your Anonymity!Cyberattacks 101
What Are SQL Injection Attacks And How To Prevent Them? Everything You Need to Know about DDOSKali Linux Deep Dive
ParrotOS vs Kali Linux: How to choose the Best? How To Install Kali Linux? All You Need To Know Everything You Need To Know About Kali LinuxEthical Hacking and Python
All You Need to Know about Ethical Hacking using Python Important Benefits Of Ethical Hacking MacChanger with Python- Your first step to Ethical hacking ARP Spoofing – Automating Ethical Hacking with PythonCybersecurity Interview Questions
Top 50 Cybersecurity Interview Questions and Answers 2021Career Guidance
Top 10 Reasons To Learn Cybersecurity How to become an Ethical Hacker? Ethical Hacking Career: A Career Guideline For Ethical HackerCyber Security
Topics Covered Cybersecurity Certification Course (37 Blogs)SEE MORE
What is Cryptography? An Introduction to Cryptographic Algorithms
Last updated on Nov 25,2020 49.7K ViewsShashank Shashank is a Research Analyst at Edureka. He is an expert in... Shashank is a Research Analyst at Edureka. He is an expert in Blockchain technology with profound knowledge in Ethereum, smart contracts, solidity, distributed networks... Bookmark 1 / 6 Blog from Cybersecurity Concepts Become a Certified Professional
Encryption is essentially important because it secures data and information from unauthorized access and thus maintains the confidentiality. Here’s a blog post to help you understand ” w hat is cryptography “ and how can it be used to protect corporate secrets, secure classified information, and personal information to guard against things like identity theft.
Here’s what I have covered in this blog:
Introduction to Cryptography? Encryption Algorithms How various Cryptographic Algorithms Works?You can go through this ‘What is Cryptography’ video where our Cybersecurity Training expert is discussing each & every nitty-gritty of the technology.
What is Cryptography? | Introduction to Cryptography | Cryptography for Beginners | Edureka
This Edureka video about what is Cryptography and why it is essential to protect the information shared across the internet. This video on What is cryptography explains you the fundamental concepts along with various encryption techniques
Now, I’m going to take help of an example or a scenario to explain what is cryptography?
Let’s say there’s a person named Andy . Now suppose Andy sends a message to his friend Sam who is on the other side of the world. Now obviously he wants this message to be private and nobody else should have access to the message. He uses a public forum, for example, WhatsApp for sending this message. The main goal is to secure this communication.
Let’s say there is a smart guy called Eaves who secretly got access to your communication channel. Since this guy has access to your communication, he can do much more than just eavesdropping, for example, he can try to change the message. Now, this is just a small example. What if Eave gets access to your private information? The result could be catastrophic.
So how can Andy be sure that nobody in the middle could access the message sent to Sam ? That’s where Encryption or Cryptography comes in. Let me tell you ” What is Cryptography “.
Cybersecurity Is Interesting & Exciting Learn Cybersecurity Now
What Is Cryptography?
Cryptography is the practice and study of techniques for securing communication and data in the presence of adversaries.
Alright, now that you know ” what is cryptography ” let’s see how cryptography can help secure the connection between Andy and Sam.
So, to protect his message, Andy first convert his readable message to unreadable form. Here, he converts the message to some random numbers. After that, he uses a key to encrypt his message, in Cryptography, we call this ciphertext .
Andy sends this ciphertext or encrypted message over the communication channel, he won’t have to worry about somebody in the middle of discovering his private messages. Suppose, Eaves here discover the message and he somehow manages to alter it before it reaches Sam .
Now, Sam would need a key to decrypt the message to recover the original plaintext. In order to convert the ciphertext into plain text, Sam would need to use the decryption key. Using the key he would convert the ciphertext or the numerical value to the corresponding plain text.
After using the key for decryption what will come out is the original plaintext message, is an error . Now, this error is very important. It is the way Sam knows that message sent by Andy is not the same as the message that he received. Thus, we can say that encryption is important to communicate or share information over the network.
Now, based on the type of keys and encryption algorithms, cryptography is classified under the following categories:
Encryption Algorithms
Cryptography is broadly classified into two categories: Symmetric key Cryptography and Asymmetric key Cryptography (popularly known as public key cryptography).
Now Symmetric key Cryptography is further categorized as Classical Cryptography and Modern Cryptography.
Further drilling down, Classical Cryptography is divided into Transposition Cipher and Substitution Cipher. On the other hand, Modern Cryptography is divided into Stream Cipher and Block Cipher.
So, let’s understand these algorithms with examples.
How various Cryptographic Algorithms Works?
Let’s start with the Symmetric key encryption
Symmetric Key Cryptography
An encryption system in which the sender and receiver of a message share a single, common key that is used to encrypt and decrypt the message. The most popular symmetric key system is the Data Encryption Standard (DES)
Transposition Ciphers
In Cryptography, a transposition cipher is a method of encryption by which the positions held by units of plaintext (which are commonly characters or groups of characters) are shifted according to a regular system, so that the ciphertext constitutes a permutation of the plaintext.That is, the order of the units is changed (the plaintext is reordered). Mathematically, a bijective function is used on the characters’ positions to encrypt and an inverse function to decrypt.
Example:
Substitution Cipher
Method of encryption by which units of plaintext are replaced with ciphertext, according to a fixed system; the “units” may be single letters (the most common), pairs of letters, triplets of letters, mixtures of the above, and so forth.Example:
Consider this example shown on the slide: Using the system just discussed, the keyword “zebras” gives us the following alphabets:
Stream Cipher
Symmetric or secret-key encryption algorithm that encrypts a single bit at a time. With a Stream Cipher, the same plaintext bit or byte will encrypt to a different bit or byte every time it is encrypted.
Block Cipher
An encryption method that applies a deterministic algorithm along with a symmetric key to encrypt a block of text, rather than encrypting one bit at a time as in stream ciphersExample: A common block cipher, AES, encrypts 128-bit blocks with a key of predetermined length: 128, 192, or 256 bits. Block ciphers are pseudorandom permutation (PRP) families that operate on the fixed size block of bits. PRPs are functions that cannot be differentiated from completely random permutations and thus, are considered reliable until proven unreliable.
Asymmetric Key Encryption (or Public Key Cryptography)
The encryption process where different keys are used for encrypting and decrypting the information. Keys are different but are mathematically related, such that retrieving the plain text by decrypting ciphertext is feasible.
RSA is the most widely used form of public key encryption,
RSA Algorithm
RSA stands for Rivest, Shamir, and Adelman , inventors of this technique Both public and private key are interchangeable Variable Key Size (512, 1024, or 2048 bits)Here’s how keys are generated in RSA algorithm
Alright, this was it for “What is Cryptography” blog. To safeguard your information and data shared over the internet it is important to use strong encryption algorithms, to avoid any catastrophic situations.
If you wish to learn Cybersecurity and build a colorful career in cybersecurity, then check out our Cybersecurity Certification Training which comes with instructor-led live training and real-life case studies experience. This training will help you in becoming a Cybersecurity expert.
You can also take a look at our newly launched course on Security+ Certification which is a first-of-a-kind official partnership between Edureka & CompTIA Security+. It offers you a chance to earn a global certification that focuses on core cybersecurity skills which are indispensable for security and network administrators.
Also, learn Cybersecurity the right way with Edureka’s POST GRADUATE PROGRAM with NIT Rourkela and defend the world’s biggest companies from phishers, hackers and cyber attacks.
Got a question for us? Please mention it in the comments section and we will get back to you.
Recommended blogs for you
Steganography Tutorial A Complete Guide For Beginners
Read ArticleA Beginner’s Guide To Cybersecurity Framework
Read ArticleWhat is Cybersecurity? A Beginner’s Guide to Cybersecurity World
Read ArticleTop 10 Reasons To Learn Cybersecurity
Read ArticleImportance of Ethical Hacking: Why is Ethical Hacking Necessary?
Read ArticleA Complete Guide to Nmap Nmap Tutorial
Read ArticleMacChanger with Python- Your first step to Ethical hacking
Read ArticleEdureka Security Update
Read ArticleEverything You Need To Know About Kali Linux
Read ArticleParrotOS vs Kali Linux: How to choose the Best?
Read ArticleEthical Hacking Career: A Career Guideline For Ethical Hacker
Read ArticleWhat is Ethical Hacking? An Introduction to Ethical Hacking
Read ArticleProxychains, Anonsurf and MacChanger- Enhance your Anonymity!
Read ArticleWhat is Computer Security? Introduction to Computer Security
Read ArticleCybersecurity Threats and State of Our Digital Privacy
Read ArticleWhat Are SQL Injection Attacks And How To Prevent Them?
Read ArticleWhat is Cryptography? An Introduction to Cryptographic Algorithms
Read ArticleARP Spoofing Automating Ethical Hacking with Python
Read ArticleCybersecurity Firewall: How Application Security Works?
Read ArticleWhat Is Penetration Testing Methodologies and Tools
Read Article Comments 0 CommentsJoin the discussion Cancel reply
Trending Courses in Cyber Security
Cybersecurity Certification Course
28k Enrolled Learners Weekend Live Class Reviews 5 (11050)CompTIA Security+ Certification Training - SY ...
3k Enrolled Learners Weekend Live Class Reviews 5 (900)Browse Categories
Artificial Intelligence BI and Visualization Big Data Blockchain Cloud Computing Data Science Data Warehousing and ETL Databases DevOps Digital Marketing Enterprise Front End Web Development Mobile Development Operating Systems Programming & Frameworks Project Management and Methodologies Robotic Process Automation Software Testing Systems & ArchitectureREGISTER FOR FREE WEBINAR Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP
Subscribe to our Newsletter, and get personalized recommendations.
Sign up with Google Signup with FacebookAlready have an account? Sign in .
× × 20,00,000 learners love us!
Get personalised resources in your inbox.
Sign up with Gmail Sign up with Facebook OR
You are here: Home Blog Cyber Security What Is Cryptography? ...