Skip to content

ahmetcskn/XOR-Cipher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

XOR-Cipher

A simple Python implementation of XOR encryption with base64 encoding.

Features

Text encryption using XOR cipher Base64 encoding of encrypted text Text decryption with error handling Colorful command-line interface

Requirements

Python 3.x

colorama

base64 (built-in)

Installation

pip install colorama

Usage

Run the script and follow the interactive menu:

1.Select option 1 to encrypt text

2.Select option 2 to decrypt text

3.Enter 'q' to quit

For each operation, you'll need to provide:

• Text to encrypt/decrypt

• Encryption key

Example

python xor_cipher.py

or

Security Note

This is a basic implementation for educational purposes. For serious encryption needs, use established cryptographic libraries.

About

A simple Python implementation of XOR encryption with base64 encoding.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages