Skip to content

This repository includes java classes for encrypting, decrypting and hashing a textfile with certain methods.

Notifications You must be signed in to change notification settings

daFinndus/seven

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The project directory should kind of look like this:

project/
├── src/
│   ├── Main.java
│   ├── Encrypt.java
│   ├── Decrypt.java
│   ├── Hash.java
│   └── Detect.java
└── lib/
    └── bouncycastle.jar

Compile with the following command:

javac -cp "lib/*" -d bin src/*.java


Execute the Main with the following command:

java -cp "bin:lib/*" Main <args> ( for Linux )

java -cp "bin;lib/*" Main <args> ( for Windows )


You have the following options:

Encryption: encrypt <path/to/textfile> <path/to/keyfile>

Decryption: decrypt <path/to/textfile> <path/to/keyfile>

Hash with all available methods: hash <path/to/textfile>

Hash with specific method: hash <path/to/textfile> <HASH_METHOD>

Hash-detection: detect <path/to/textfile> <path/to/hashfile> <HASH_METHOD>

Currently available hash methods are:

  • MD5
  • SHA3-256
  • RIPEMD160

About

This repository includes java classes for encrypting, decrypting and hashing a textfile with certain methods.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages