HCRYPTO – free command line strong encryption tools.


hcrypt – command line block cipher encryptor. Supports AES-128, AES-192, AES-256, Blowfish, CAST-128, CAST-256, DES, TripleDES, DESX, GOST, IDEA, KASUMI, Lion, MARS, MISTY1, Noekeon, RC2, RC5, RC6, SAFER-SK, SEED, Serpent, Skipjack, Square, TEA, Twofish, XTEA in ECB, CBC, CFB, OFB, CTR and XTS mode.

Usage:

Encrypting of a file:

hcrypt --encrypt --file=<file name> --pass=<passphrase>

hcrypt --encrypt --file=<file name> --pass=<passphrase> --algo=<block cipher algorithm name> --mode=<operation mode>

Decrypting of a file:

hcrypt --decrypt --file=<file name> --pass=<passphrase>

The default cipher is AES-256, the default operation mode is CBC.

Encryption key is derived from PBKDF (Password Based Key Derivation Function) with SHA-512 algorithm.


chcryptcommand line AES-256, Serpent and Twofish cascaded encryptor for extra security. Encrypts a given file with the above mentioned block ciphers simultaneously in CBC mode. Multiple encryption is the process of encrypting an already encrypted message one or more times, either using the same or a different algorithm. The terms cascade encryption, cascade ciphering, multiple encryption, multiple ciphering, and superencipherment are used with the same meaning.

http://en.wikipedia.org/wiki/Multiple_encryption

Usage:

Encrypting of a file:

chcrypt --encrypt --file=<file name> --pass=<passphrase>

Decrypting of a file:

chcrypt --decrypt --file=<file name> --pass=<passphrase>


Compression: the encrypted file is always compressed with bzip2 algorithm first so the output file is usually smaller than the input file.


hash – multiple hash calculator. Supports Adler32, CRC24, CRC32, GOST-34.11, HAS-160, MD2, MD4, MD5, RIPEMD-128, RIPEMD-160, SHA-160, SHA-224, SHA-256, SHA-384, SHA-512, Skein-512, Tiger, Whirlpool.

Usage:

hash --file=<filename>

hash --file=<filename> --algo=<hash algorithm>

Passing ALL instead of hash algorithm name wil cause that the program will calculate hashes for all known algorithms. The default hash algoritm is SHA-512.


hmac – multiple HMAC calculator. Supports GOST-34.11, HAS-160, MD2, MD4, MD5, RIPEMD-128, RIPEMD-160, SHA-160, SHA-224, SHA-256, SHA-384, SHA-512, Skein-512, Tiger, Whirlpool.

Usage:

hmac --file=<filename> --skey=<HMAC key string as plain text>

hmac --file=<filename> --hkey=<HMAC key in hexadecimal notation>

hmac --file=<filename> --hkey=<HMAC key in hexadecimal notation> --algo=<hash algoritm name>

Passing ALL instead of hash algorithm name wil cause that the program will calculate HMACs for all known algorithms. The default hash algoritm is SHA-512.



Bug reporting: hcrypto@hagonbc.net


This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program.  If not, see <http://www.gnu.org/licenses/>.

Download