What You Should Know About Cryptography

July 29, 2016 | Views: 7104

Begin Learning Cyber Security for FREE Now!

FREE REGISTRATIONAlready a Member Login Here

INTRODUCTION:

Hello all, this article is about Cryptography.

We’re going to talk about:

  1. What is Cryptography
  2. Goals of Cryptography
  3. What is Encryption
  4. What is Decryption
  5. Asymmetric Encryption
  6. Symmetric Encryption
  7. Hashing

 

Let’s begin…

What is Cryptography?

Cryptography is the art of creating puzzles and solving them. In Tech talk, cryptography is the art of hiding data and securing it from the bad guys. Cryptography can also be used to verify a file – whether it’s been altered or changed. It contains the algorithm that hides the data and how we’ll release the data by creating a key that unhides the data. We’ll talk about that in a minute.

 

Goals Of Cryptography

Cryptography has three main goals:

  1. Confidentiality( Data Privacy )
  2. Data Integrity
  3. Authentication

Confidentiality:

This is the most commonly addressed goals. Meaning, the message is encoded and concealed, the sender encrypts it by using the cryptographic key and the recipient decrypts the message by the key.

Data Integrity:

It ensures that the message sent was not modified along the way. Hashing can be used to create a unique message digest from the message that’s sent along with the message. The recipient creates a second digest to compare it with the original.

Authentication:

A user or system can prove their identity to another who does not have personal knowledge of their identity. Accomplished using digital certificates.

 

What is Encryption?

Encryption is the process in which the data goes through a lot of math functions and hides it by making it unreadable – i.e making the data scrambled. This is the most effective way to achieve security data security.

Actually, it hides all the data and creates a key. Therefore, the data can only be read by unlocking it with the key. It’s like a home lock. You lock your home so that no bad guy can get in. The lock has the key and only the right people have the key to get in. No one else can get in.

 

What is Decryption?

Decryption is the process of converting the encrypted data to its original form or readable form by using a specific key.

 

What is Asymmetric Encryption?

As I mentioned earlier, when the data is encrypted, a key is created. Asymmetric creates a pair of keys – one private and one public. One encrypts and the other one decrypts. The keys are interchangeable, in the sense that if key X encrypts a message, then Y can decrypt it. And, if key Y encrypts a message, then key X can decrypt it.

 

What is Symmetric Encryption?

It’s a type of encryption in which the same secret key is used to encrypt and the same key is used to decrypt.

 

Hashing?

Hashing is the checking of a file’s integrity to see if that it’s not been modified or changed. You can calculate your files hash and compare it if the two hashes are same. If this is the case, the file has not been modified. If it does show a change, then the file has been modified.

 


Hope you’ll learn something from this post 🙂

-Nayani

Share with Friends
FacebookTwitterLinkedInEmail
Use Cybytes and
Tip the Author!
Join
Share with Friends
FacebookTwitterLinkedInEmail
Ready to share your knowledge and expertise?
20 Comments
  1. Great article.

  2. Well defined…. Good for beginners.. Thnx for sharing

  3. What is cryptography

    Cryptography derived its name from a Greek word called “Kryptos” which means “Hidden Secrets”. Cryptography is the practice and study of hiding information. It is the Art or Science of converting a plain intelligible data into an unintelligible data and again retransforming that message into its original form. It provides Confidentiality, Integrity, Accuracy.

    Encryption

    The process of converting plain text into an unintelligible format (cipher text) is called Encryption.

    Decryption

    The process of converting cipher text into a plain text is called Decryption.

    What is a Key

    In cryptography, a key is a variable value that is applied using an algorithm to a string or block of unencrypted text to produce encrypted text, or to decrypt encrypted text. The length of the key is a factor in considering how difficult it will be to decrypt the text in a given message.

    What is a Block Cipher?

    A method of encrypting / decrypting data

    Key is used for encryption / decryption.

    Same size of I/P and O/P

    What is Initialization Vector?

    An initialization vector (IV) is an arbitrary number that can be used along with a secret key for data encryption.

    It is a group of hex values.

    Types of Cryptography

    1.Symmetric Key Cryptography (Secret Key Cryptography)

    2.Asymmetric Key Cryptography (Public Key Cryptography)

    3. HASH FUNCTION

    1.Symmetric Key Cryptography (Secret Key Cryptography)

    a).Same Key is used by both parties
    b). Simpler and Faster

    2.Asymmetric Key Cryptography (Public Key Cryptography)

    a).Two different keys are used Users get the Key from an Certificate Authority.
    b). Authentication in asymmetric cryptography is more secured but the process is relatively more complex as the certificate has to be obtained from certification authority.

    3. HASH FUNCTION:

    a).Uses mathematical transformation to irreversibly encrypt information.
    b).It is a one-way encryption
    c).uses no key for encryption and decryption

  4. Thank you man.Very Helpfull

  5. simple and concise….

Page 2 of 4«1234»
Comment on This

You must be logged in to post a comment.

Our Revolution

We believe Cyber Security training should be free, for everyone, FOREVER. Everyone, everywhere, deserves the OPPORTUNITY to learn, begin and grow a career in this fascinating field. Therefore, Cybrary is a free community where people, companies and training come together to give everyone the ability to collaborate in an open source way that is revolutionizing the cyber security educational experience.

Support Cybrary

Donate Here to Get This Month's Donor Badge

 
Skip to toolbar

We recommend always using caution when following any link

Are you sure you want to continue?

Continue
Cancel