Skip to content

This Python script demonstrates a basic encryption and decryption process using a symmetric encryption technique called XOR operation.

License

Notifications You must be signed in to change notification settings

Zwique/Z_Cipher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Z_Cipher

This Python script demonstrates a basic encryption and decryption process using a symmetric encryption technique called XOR operation.

Aim

The aim of this Python script is to illustrate a basic encryption and decryption process using the XOR operation, showcasing the principles of symmetric encryption through a simple implementation. As Z_Cipher's algorithm heavily concentrates on XOR Cipher, the script serves as an educational tool for demonstrating the XOR encryption technique.

What is XOR?

XOR stands for exclusive OR. The sample chart below illustrates this logic gate.

A B Output
0 0 0
0 1 1
1 0 1
1 1 0

What is XOR Cipher?

In XOR encryption, each character of the plaintext is combined with a corresponding character from the key using the XOR operation. This process creates ciphertext, which can then be decrypted by XORing it with the same key to retrieve the original plaintext. Personally, I really enjoyed this YouTube video because it simply explains how the whole algorithm works.

To Execute the Code

python3 Z_Cipher.py

About

This Python script demonstrates a basic encryption and decryption process using a symmetric encryption technique called XOR operation.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages