Skip to content

Encryptify is a lightweight command-line tool that enables secure encryption and decryption using ROT13, Reverse, and XOR methods.

Notifications You must be signed in to change notification settings

joshuabvarghese/Encryptify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Encryptify

Welcome to Encryptify! This command-line based tool allows you to encrypt and decrypt your messages using three different encryption methods. Whether you're looking for simple letter shifts or bitwise encryption, Encryptify has you covered.

Features

  • Encrypt or Decrypt: Choose between encrypting or decrypting your message.
  • Three Encryption Methods: Rot13, Reverse, and XOR.
  • Simple Command-Line Interface: Easily navigate using numbers to select encryption types and input your message.

Installation

Run the following command to execute:

go run encryptify.go

How to Use

After executing the program, follow these steps:

  1. Welcome Message: You will be greeted with:

    Welcome to the Encryptify!
    
  2. Select Operation: Choose either encryption or decryption by typing:

    • 1: Encrypt
    • 2: Decrypt
  3. Choose Encryption Method: After selecting the operation, choose one of the following encryption methods:

    • 1: Rot13
    • 2: Reverse
    • 3: XOR
  4. Input Message: Enter your message and press Enter.

    • For XOR encryption, you'll be prompted for a key. This key is essential for both encryption and decryption.
  5. Encrypted/Decrypted Message: The result will be displayed on the screen.

Encryption Methods

Rot13

Rot13 encryption shifts each letter in the alphabet by 13 positions. This method is its own inverse: applying it twice will return the original text.

Example:

Input: Hello World!
Encrypted: Uryyb Jbeyq!
Decrypted: Hello World!

Reverse

The Reverse method swaps each letter in the message with its reverse counterpart in the alphabet (A ↔ Z, B ↔ Y, etc.).

Example:

Input: Hello
Encrypted: Svool
Decrypted: Hello

XOR

XOR encryption uses a bitwise exclusive OR operation. The user provides a key, which is applied to the message bit by bit.

Example:

  • Message: "Hello"
  • Key: 42
  • Encrypted Output (hex): 1e1c001604341d111f150f371d04250c26001002
  • Decrypted Output: Hello

About

Encryptify is a lightweight command-line tool that enables secure encryption and decryption using ROT13, Reverse, and XOR methods.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages