You are on page 1of 16

ENCRYPTION

What is encryption?
•Encryption is the process by which a readable message is converted to an
unreadable form to prevent unauthorized parties from reading it.

•Decryption is the process of converting an encrypted message back to its


original (readable) format.

•The original message is called the plaintext message.

•The encrypted message is called the ciphertext message.


Encryption key
• 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.
Why we need Data Encryption.
• It helps protect private information, sensitive data, and can enhance
the security of communication between client apps and servers.
• When your data is encrypted, even if an unauthorized person or
entity gains access to it, they will not be able to read it.
Methods(types) of data encryption
• There are two types of encryption in widespread use today:

 Symmetric encryption
 Asymmetric encryption.

• The name derives from whether or not the same key is used for
encryption and decryption.
Symmetric encryption
• The same key is used for encryption and decryption.
• Called “secret key” encryption because the key must be kept secret
from third parties.
Asymmetric encryption
• A different key is used for the encryption and decryption process.

Private key - kept secret by the owner

Public key - either shared amongst authorized recipients or made


available to the public at large.

• Data encrypted with the recipient’s public key can only be


decrypted with the corresponding private key.
• Data can therefore be transferred without the risk of unauthorized
or unlawful access to the data.
Pigpen Cipher
• A type of a substitution cipher.
• The key for this cipher is the four grids shown at below.
Encrypt a message using pigpen cipher
• To encrypt a message, we find the letter in the grid and draw the
pen that it is inside.

• For example:
Plaintext: Went

Ciphertext:
• To decrypt a message, we find the shape of the pen and replace
it with the letter that is inside it in the grid.

Ciphertext:

Plaintext: Home
Activity
• Encrypt the below messages using pigpen cipher.

1. I’ll be back
2. Data encryption.
3. Don’t forget to breathe — Very important.
4. Anything is possible when you have inner peace.
Decrypt the below messages.

1.

2.

3.

4.

You might also like