Yagnikfadadu / HorseEncryption

Encryption Standard to protect data from theft

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HorseEncryption

This package was developed to solve to major problem of data theft from servers. It encrypts the data to unintelligible form which cannot be read without decrypting the text.

The package is still in development phase and for now it supports alphanumeric characters and basic symbols. We also added feature for encryption and decryption of a text file.

How to use this package?

  1. Clone the repository or download the ZIP file and extract in a folder.
  2. Create a driver class file to use the HorseEncryption class from HorseEncryption package and use encrypt() and decrypt() method or you can use below code snippet to use the class.
import HorseEncryption.HorseEncryption;

public class HorseEncryptionDemo {
    public static void main(String[] args) {
        HorseEncryption horseEncryption = new HorseEncryption();
        String encrypted_text = horseEncryption.encrypt("Hello World");
        String decrypted_text = horseEncryption.decrypt(encrypted_text);
        System.out.println("Encrypted Text: "+encrypted_text);
        System.out.println("Decrypted Text: "+decrypted_text);
    }
}

About

Encryption Standard to protect data from theft

License:MIT License


Languages

Language:Java 100.0%