Professional Documents
Culture Documents
Encryption/Decryption
What is Cryptography?
Cryptography derived its name from a
Greek word called “Kryptos” which
means “Hidden Secrets”.
It provides
Confidentiality, Integrity, Accuracy.
What is Cryptography
Cryptography
In a narrow sense
Mangling information into apparent unintelligibility
Allowing a secret method of un-mangling
In a broader sense
Mathematical techniques related to information security
About secure communication in the presence of adversaries
Cryptanalysis
The study of methods for obtaining the meaning of encrypted
information without accessing the secret information
Cryptology
Cryptography + cryptanalysis
Cryptography is the science of secret writing is an
ancient art; the first documented use of cryptography in writing
dates back to circa 1900 B.C. when an Egyptian scribe used non-
standard hieroglyphs in an inscription.
Some experts argue that cryptography appeared spontaneously
sometime after writing was invented, with applications ranging
from diplomatic missives to war-time battle plans.
It is no surprise, then, that new forms of cryptography
came soon after the widespread development of computer
communications. In data and telecommunications,
cryptography is necessary when communicating over any
untrusted medium, which includes just about any network,
particularly the Internet.
FUNCTIONS OF CRYTPGRAPHY
There are five primary functions of cryptography today:
1. Privacy/confidentiality: Ensuring that no one can read the
message except the intended receiver.
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.
Disadvantages
1. Less Secured
Asymmetric Key Cryptography (Public Key Cryptography)
◦ 2 different keys are used
◦ Users get the Key from an Certificate Authority
Advantages
1. More Secured
2. Authentication
Disadvantages
1. Relatively Complex
Secret Key Cryptography
encryption
plaintext ciphertext
key
ciphertext plaintext
decryption
encryption
plaintext ciphertext
key
ciphertext plaintext
decryption