Skip to content

tomer157/encrypt-decrypt-xor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XOR Encryption and Decryption

This project demonstrates XOR encryption and decryption using Java. It includes functions to encrypt and decrypt text using a given key, and an implementation to break XOR encryption by brute-forcing the key.

Features

  • Encrypt a string using XOR with a given key
  • Decrypt an XOR-encrypted array of integers with a given key
  • Break XOR encryption by brute-forcing the key based on encrypted numbers array

Prerequisites

  • Java Development Kit (JDK) 8 or higher
  • Git (for version control)

Installation

  1. Clone the repository:
    git clone https://github.com/tomer157/encrypt-decrypt-xor.git
    cd xor-encryption-engine
    javac -d out src/encryption/*.java src/Main.java
    java -cp out Main
    
    

Running the code not from the cli

  1. Please run main method from Main class

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages