Skip to content

A triple encryption tool using the BouncyCastle implementations of Serpent, Threefish and Rijndael.

License

Notifications You must be signed in to change notification settings

vellerefond/cryptor

Repository files navigation

cryptor

A triple encryption tool using the BouncyCastle implementations of Serpent, Threefish and Rijndael (AES).

It uses the The Legion of the Bouncy Castle implementations of the algorithms and it's API has been preferred as well, so as to avoid any exceptions regarding invalid key lengths due to the lack of the appropriate Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files. As such, the key lengths are always the maximum ones per algorithm. Also, the key is hashed and used as the material for the three secret keys as well as for the material of the IVs. The chosen hashes are Skein and Whirlpool.

usage: java -jar cryptor.jar ( -e | -d ) [ path(s)_to_input_file(s) ] [ -o prefix{regex}suffix ]
    -e
            encrypt
    -d
            decrypt
    path(s)_to_input_file(s)
            space separated paths to input files (by default using the standard input stream)
    -o prefix{regex}suffix
            for each input file extract the regex part (if no regex has been provided, use the entire input file path)
            and prepend/append the provided prefix/suffix (by default using the standard output stream)

About

A triple encryption tool using the BouncyCastle implementations of Serpent, Threefish and Rijndael.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages