Skip to content

sp4r1ng/RC4_tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

RC4 Encryption/Decryption Tool

Description

This tool is designed to perform encryption and decryption using the RC4 algorithm. The tool can encrypt or decrypt files using a provided key.

Installation

  1. Clone the repository:

    git clone https://github.com/sp4r1ng/rc4_tool.git
    cd rc4_tool
  2. Install the required packages:

    pip install -r requirements.txt

Usage

Encryption

Encrypt a file using the RC4 algorithm.

python main.py your_key input_file output_file --encrypt

Decryption

Decrypt a file using the RC4 algorithm.

python main.py your_key input_file output_file --decrypt

Example

To encrypt a file named plaintext.txt with the key mysecretkey and save the result to ciphertext.txt:

python main.py mysecretkey plaintext.txt ciphertext.txt --encrypt

To decrypt the file ciphertext.txt with the same key and save the result to decrypted.txt:

python main.py mysecretkey ciphertext.txt decrypted.txt --decrypt

About

RC4 Encryption/Decryption Tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages