Cryptography
Encryption / Decryption
Hashing Algorithm
• Cryptography is a method of hiding or coding the information so that only the
person to whom the message was written for can read and process the
information.
• The art of cryptography has been used to code a message for thousand of years
and continue in practice.
• The word Cryptography is a Greek word and it refers to “Secret Writing”.
• The main objective of the cryptography is to provide Confidentiality, Integrity
and Authentication.
• It is a process of encrypting a plain text to cipher text at the sender side and
transmitted and again the cipher text will be decrypted to plain text at the
receiver side.
2 types of Cryptography:
• Symmetric Cryptography
• Asymmetric Cryptography
Encryption & Decryption:
• It is a 2-way mechanism
• The process of converting a plain text into a cipher text with the help of a Key it
is known as Encryption.
• The process of reconverting a cipher text into a Plain text with the key is known
as Decryption.
• The algorithm which process the encryption operation is known as Encryption
algorithm and the receiver should also use the same algorithm to decrypt it
back to the plain text.
Hash Algorithm:
• Hash Algorithm helps to maintain the integrity of the data that is transmitted.
• This will process the data and produce a value at the sender side. Once the plain text is
encrypted to cipher text and transmitted. At the receiver side, again the cipher text is
decrypted back to the plain text. Now the hash algorithm will perform the validation
process and it should have the same value that was generated at the sender side. If
there is changes, it confirms that the data is changed or modified, or it is not the same
data that the sender sends. By this method it maintains the Integrity of the data
transmitted.